Pregnancy test

Am

How many days after having sex can you take a test. We had sex 3x in the past 2 weeks. I'm not good with this kinda stuff. With my son we were trying then werent trying then got pregnant and I wasnt monitoring the days so I dont know when j got pregnant with him except it may have been around my birthday. 3 years later here we are again. Lol