rough sex :/

hey has anyone also had sex after a really long time and it was sort of painful during? my period had just ended and i typically have a really bad and heavy period. so two days after it had finished, i had protected sex. UNFORTUNATELY i’ve been cramping for nearly a week after and just recently have had brown discharge. does anyone else have any experience with this and should i get checked lol