When can i test?

Kellywood19@aol.com

How many days after you have sex can you take a pregnancy test. I can’t rely on my period, because I am breastfeeding and my period has not returned.