Pregnancy testing

How long should you wait to test if your pregnant? And when is the “best” time to do so. If so how soon should you tell the person you’re with?

How would you tell someone who’s in the military that’s in another stated than you? This is the part that’s getting me...