What happens next???

My periods started yesterday 5days be4 they were due. It’s really sore and uncontrollably heavy. I feel like I am being ripped into pieces. A&E have said nothing they can do but should I take something. What happens next, has anyone ever experienced this? Test at Hospital confirmed pregnancy this morning with 2 faint lines. Please can I have advice on what happens next as this is new to me. Does this happen often?