Pregnancy test?

When can I take a pregnancy test?

After I’ve missed the 1st day of my period or? Someone please help.