Unprotected sex with UDI

How long after getting an IUD put in can my husband finish inside me?