I'm confused.

So I have experience pain during penetration as well as brown discharge.

The pain started about 1am when we had intercourse, and I still felt pain when we had another round of intercourse at 7am. We had to cut it short since it was really hurting me. Fastforward to 6:30pm, when I peed, I saw that I have brown discharge on my underwear.

I am confused as to what this could be. Please help clarify it to me.