COPPER IUD

i had unprotected sex yesterday but im getting my iud inserted tomorow is that okay? my pussy is kinda sore tho but are there any problems with getting it tomorrow after having sex yesterday