If your vision is good and only your eye is a little red, then it won't cause any severe damage.However, you should wash your eye to cleanse it of the cosmetic. Or you can use the solutions over the counter, such as optrex eye wash to clean it.
It is not recommended to get sunscreen in your eyes. Most cosmetics will be a kind of irritant to eyes and inside of the eyes. If your eye is little red and your vision is good, a careful washing may do much help.