A person needs a prescription to purchase contact lenses, which they can only get through a doctor. Although some contact lens retailers offer eye exams, these are usually to renew an existing prescription. They should not replace in-person, comprehensive eye exams.