Well, in my opinion, you should use cold compress, which will be effective for your situation. As we know that eye infection is caused by bacteria, viruses or environmental agents, such as pollens and other irritants. And when it happens, it can make your eyes feel itchy, red, burred. So when you apply cold compress on it, it will just relieve the symptom. Also, you can put some tea bags on your eyes. As we know that tea bags contain a high concentration of the chemical epigallocatechin gallate, which acts as an anti-inflammatory agent that can relieve your symptom. Anyway, you can have a try.