Shower after sex?

Do you have to shower after sex? I don't know as I feel uncomfortable talking about it to my mum or my sister. Apparently it can cause infection if you don't? I try to shower after I have sex but is it nessary? Thankyou!!