Question! Someone please explain this to me

I'm 18 years old and it wasn't my first time having sex, but it has been a while. Last night me and my boyfriend had sex and now my vagina is in a lot of pain..the sort of pain that you get after your first time. What's the cause of this and how can I atleast relieve the pain because I'm sure there's no way to make it go away completely. It's also hard for me to urinate without feeling that pain. Also I know that both of us don't have any type of STD so that's not the problem