How long until the IUD is effective

Cait

I got the IUD on my period and was wondering when it was going to be effective?