If you have a chemical burn on your eyelid, it is important to seek medical attention immediately. If the burning sensation is severe, you may need to go to the hospital. Once you are under medical care, the doctor will likely flush your eye with water for at least 15 minutes. This will help to remove any remaining chemicals and soothe the burning sensation. The doctor may also prescribe antibiotic ointment or drops to prevent infection. It is important to follow their instructions carefully and make sure to finish the entire course of treatment.