Take it easy. Tha main material of soap is sodium soap, which is made from animal fat and plants oil. There are some additive like rosin and sodium silicate in the soap. They can improve the hardness and the ability of decontaminating and they can increse the foam of soap. Usually, if the soap water splashes into the eyes, it won't do much harm to the eyes. You can just wash your eyes with clean water. Soon, you will feel better. If your eyes get stinging pain, it must be the alkaline substance stimulating your eyes. You just need to use clean water to swash your eyes, and within 24 hours, the painful feeling will disappear. If you are afraid of infection, you can use some eye drops to prevent infection.