It's very likely some shampoo got into her eye, try to gently rinse the eye with running water then try to leave it for a few hours to calm down. if within 4-6 hours you do not see any improvement in the eye condition you should then take her to your vet in order to get it checked and treated, she might need eye drops to reduce the irritation.