help me.. bc / unprotected/ birth

i gave birth on jan 10 and had sex the 20 of feb.

i do not have money for plan b but i am getting the IUD inside me o tuesday. it will be 7 days after i has unprotected sex .. will it still work as a contraceptive? i heard that it needs to be 5 days but will the two days matter?