Burning

Every time I have unprotected sex with my long term boyfriend, after I get a burning sensation when I go pee. Its to the point its making me not want to have sex. I was also just treated for a kidney infection the beginning of January. I don't know if that makes a difference. What could it be? Please help!