How long before sex after IUD?

Erica
I just had a Mirena IUD put in. How long until I can have sex? I have heard everything from 24 hours to 7 days.