How long??

Felicia
How long after my ovulation day and having sex can I take a pregnancy test? I don't want to do anything in my day to day that can harm a baby if I did end up getting pregnant at that time. Do I have to wait until I have a missed period or cam I take one earlier?