Pregnancy Test Question

After how many days of my period missing should I take a pregnancy test?