If you’re breastfeeding and need to use emergency contraception you can safely take the oral pill that contains levonorgestrel.
It’s advised that if you take the emergency contraception that contains ulipristal acetate, that you do not breastfeed. You should express and discard milk for a week after you have taken it.
If it’s been more than 28 days since you gave birth and you are also looking for a long term contraceptive solution, you can use the Copper IUD as emergency contraception. The Copper IUD is effective as emergency contraception for up to 5 days after unprotected sex, and contains no hormones. As contraception, it can last for up to 10 years after the initial insertion.