How long after a baby should I take a pregnancy test?

I had a baby two months ago. My husband and I have had unprotected sex three times in the past two weeks. I am breastfeeding my daughter. I have not gotten my period yet. When should I take a pregnancy test??