Pain after sex.. 😞

I'm feeling really fucking horrible. I had sex with my SO and he went rough. This is my second time having sex and I lost my virginity just a few weeks ago. It was really good in the moment! But a couple days after, the pain has been bad to the point I'm crying. Has anyone went through sex after pain and if so how long did it last you? Is there solutions to subside it? I'm really desperate.Â