how early should a preg test be taken?

Am

how early should you take a pregnancy test? feeling nauseous and crampy for the past week