Why does it burn!!

So I had sex on my period and the next day my vagina was burning and his penis was raw and burning. We both got checked for STDs before we started having sex. Anyone know why this is happening?