IUD effectiveness

Nicole

I just got Mirena inserted on Monday. When will it be effective? I am reading online 7 days after. But, Doctor says use protection for 3 weeks. That seems like a long time. Is it because I just recently gave birth?