Photokeratitis, often described as a sunburn of the eyes, is typically a temporary condition. Symptoms can be painful and distressing but usually resolve on their own within 24 to 48 hours. During this time, it's recommended to avoid further sun exposure, rest the eyes, and avoid bright lights. If the pain is severe or if symptoms persist beyond 48 hours, it would be wise to consult an optometrist.