When to take a pregnancy test?

Chloe • Nurse 🏨 Wife 💏
When is the soonest to take a pregnancy test as in how many days before a period/ after missed period.