Bleeding during sex

Okay so while I was having sex the other night I got what seemed like my period(literally in the middle of having sex), however I wasn’t suppose to get it until a week later, it was very heavy and I bled almost all night but now I am not bleeding at all? Anyone have anything like this happen to them before?? It’s not my first time having sex and I’m definitely not pregnant.