Once you have anal sex, your penis is exposed to various bacteria and if you have vaginal sex without cleaning your penis, you are putting the woman at risk of various types of infections. The chances of vaginal and urinary tract infections increases if you have vaginal sex after having anal sex.