Post IUD placement sex

How long did you wait after having an IUD placed to have sex? Some say to wait a few days but others say it’s fine within 24 hours so im conflicted