I am ready to tell you that corneal ulcer is not contagious and you do not need to stay at home. A corneal ulcer is damage on the cornea as a result of an infection of a type of bacteria, virus, or fungus, such as herpes simplex infection or infection of the virus that causes chickenpox and shingles. Allergies or other eye conditions such as conjunctivitis, contact lenses can also cause corneal ulcers. Under such circumstances, you need to go to hospital to receive a prompt treatment, otherwise you may have corned scarring, permanent visual impairment, or even a hole in the cornea. Wish you be better soon.