first time having sex.

The other day i had sex for the first time, without protection. A few hours later i started to feel pain around my stomach area, i thought it would go away but it has been happening for 2 days straight. About an hour ago i saw that there was blood on my undies, and it wasn’t my period blood. Now idk what to do.