How long are you supposed to wait

My period is about 4-5 days away. When exactly is my period considered late ? And when should I test ?