I really need help

So I had sex with my boyfriend for the first time, and I was really nervous so I wasn’t getting wet . And it hurt really bad so I told him to take off the condom because the condom was making it worse. It hurt sooo bad I told him to stop . And 2 days after I had brown discharge and now it burns when i pee . ??? Suggestions ??? What can this be ?