IUD issues

Abby
Can I have sex after I get my iud in? My boyfriend read online that we cant/shouldn't have sex a whole week after I got my iud put in, but my doctor told me that it was completely fine as long as we use a condom. What do you guys think?\