Hello doctor I have delivered a child on 27

Patient: Hello doctor . I have delivered a child on 27 Aug through c section. She is 5.5 months now and on breastfeeding only. I got my last period on 31st December and till date have not got.last night I had an unprotected sex and would like to take I pill. Does it have any effect on my child.kindly suggest.thanks

Doctor: