How long should I wait

Lauren
How long do you have to wait to take a test? Do I have to wait until around the time of my expected period date?