The earlier keratitis is treated, the better the chances of preventing blindness and other serious problems. Treatment depends on the cause of the infection.