Does it work?

Does taking a pregnancy test after your expected period still give you the correct result? Asking because I missed my period and was supposed to get it 6 days ago, so at most I’m 5 weeks pregnant if I’m pregnant at all... just wondering if It will still give me the correct result :)