It makes no sense for most tourists to apply for a visa to Egypt in advance. You may need to apply for a paper or electronic visa in advance except for special purposes (work, student, etc.), or if you need a multiple-entry visa, i.e. if you want to enter and leave Egypt several times, for example, to visit neighboring countries.