The first way in which you can keep your eyes healthy is by not rubbing it on a frequent basis. Your hands normally keep getting exposed to plenty of harmful substances such as dirt, bacteria, and dust. So every time you touch your eyes with your hands or rub them all these get transferred to your eyes. This way, you would be able to prevent infection and irritation as well. If it is a bad habit try getting rid of it as soon as you can.