Worried mommy to be

I've had three miscarriages, this is my fourth pregnancy and things are great so far. I get so horny at times and those times my man aint around so I pleased myself and had a severe cramp after and its making me worry sick. First two miscarriages I bled after doing that and lost the baby and the last one started bleeding from sex and lost that one. I never tested positive on a digital or had symptoms for those but with this one I have and have tons of symptoms just worried this baby wont last now. Please help me

Worried I messed up :(