Pregnancy test?

Khadija
When is the safest time to take a pregnancy test?