I was exactly the same... miscarried and then fell pregnant again straight away. Was convinced i was gonna miscarry as the pains were similar, however I'm currently sitting at nearly 38 weeks pregnant. You can take paracetomal which is safe however I was afraid to take anything. Personal choice.
@Mugglenet had some paracetamol yesterday only took one tablet due to a migraine of sleep and stress feeling better now I think its that I've only had one poo today and I was really constipated this morning or been sat in same position all day. Seeing midwife tomorrow so will discuss this with her and see what she thinks glad you're ok now not nice suffering a MC then suffering from paranoia during next pregnancy!!
I've been having pains for a few weeks now and some occasional brown discharge. I'm 9+4 and have been told it's nothing to worry about unless there is red blood. So I'm just carrying on with everything crossed!