Pregnancy test

When is the best time to take one? I'm already 4 days late and planning on buying one today. When should I use it?