Sex while pregnant 15 WEEKS, HELP

So my significant other and I have had sex maybe 3 times since I've been pregnant. Tonight we kind of had "rough" sex, but it hurt really bad at the end and I made him stop because he was going deep and it hurt when he got to the end..... now I'm laying here scared for my life that I hurt my baby because I've had 2 miscarriages in the past year but both before 10 weeks. Is my baby okay???

Update: it's the next day and in the morning I had a little cramping in my lower abdomen but now I seem to be okay.... Just hoping baby is okay I don't go back to the doctor until October 3rd.