Pregnancy test

When did you feel you needed to take a pregnancy test. And when is best to take it. ??