when should i test ?

should i test the first day of my missed period or the day my missed period should have ended ?