Is it normal to hurt while peeing after sex?

Yuka

I had sex about two days ago and today while peeing it hurt a lot. Boyfriend says its normal but im still a lil worried. I have my period in 3 days as well