Pregnancy

How do you know if your expecting and how long do you supposed to wait to take a test?