You should avoid having sex or putting anything in your vagina, such as a tampon, for one week after a miscarriage.