Tampon after sex

Chantel

Hey I'm new here!

I'm curious is it safe to use a tampon straight after sex? Is there risk of infection or anything? I am on my period and I'm sterilised so not doing it to try getting pregnant!

Thanks