New to the iud

Hi guys I just got my iud 2 days ago. I’ve been on depo for 3 years and didn’t get my recent shot (due to the switch) should I be safe to go if I have sex tonight? How long did you guys wait to do it after getting it inserted and should I be protected by bc still? No I didn’t get it inserted in my period because I haven’t had one in 3 years due to depo.