how long I have to wait?

How long I have to wait so I can do a pregnancy test