blood after sex??

This has never happened but when I went to go pee right after, it burned super super bad coming out and then when I wiped it was light light pink mixed with pee on the toilet paper. And a little bit in the toilet. Today is the last day of my period where I start to get brown discharge so idk why I would still be bleading