Pregnancy test

When should I take a pregnancy test? I haven't had a missed period but I have been very nauseous