It is really rare to get eye infection when tap water gets into your eyes. It most frequently occurs in contacts lenses wearers. Nevertheless, just relax yourself, because as I said before it is very rare. When you found the tap water gets into your eyes, you will just need to wear your eyes with the steam, here pls remember do not wash your eyes with tap water again. If you are a contacts wearer, you will have to put off your contacts, then use some eye drops to clean your eyes. At the same time, you should also clean your lenses because maybe the bacteria in the water has attached your lenses, if so, when you put on the contacts on again, your eyes will get infected as well. If you find the wayside I told you do not work and your eyes become red, pls go to the hospital and the doctor will help you clean your eyes. Kindly advice you had better not rub your eyes. Good luck.