first of all, if your pain is slight, or not so severe, you could do some eye exercises, that is to rub it slowly with a clean hand. Then, if your pain is very severe, you need to try some eye-drops, if it doesn't work, the immediate thing you need to do is to see a doctor and get help from the hospital.
If your eyes get pain at home, you could something to make them feel comfortable. You could find the clean cloth and hot water to do the warm compress. This is the very effective and workable way. You could put the hot clean cloth to cover on the eyes surface. Then your eyes nerves will be relaxed and you will feel comfortable at the eyes. You could have a try.
It depends. First you should know what cause your eyes pain. There are many situations. Fatigue of eyes is the mainly cause. In nowadays, using computer for a long time, watching tv, playing games, all of this can cause your eyes tired. In addition, your eyes will pain. You can try eye drops. And take a break. After watching 30 minutes, you can stand up and look far into the distance. What's more, you can eat more vegetables to supply vitamins.
To alleviate your pain, you should know why your eyes hurt.
If the pain is caused of foreign bodies in your eyes, you need to flush your eyes with water thoroughly. If the foreign body is irritant chemical, you have to go to see a doctor.
What's more, you can take some over the counter painkillers to relieve your pain. For example, you can take ibuprofen or acetaminophen.
Also, you need to avoid overloading your eyes or exposure to bright light.
Lastly, enough rest is the profound solution and cool compress can be a pus.