Almost every type of perfume contains a little amount of essence which may absolutely make your eyes feel painful when splashing into your eyes.You can just use the clean water to wash your eyes directly until your eyes feel better. However you could also use some soap with medium ingredients to wash the eyes, which could wash the eyes clearly and quickly.
Well, I am sorry to hear that. So, based on your description of the accident, what you should do is to use salty water to clean your eyes, because tap water contains some bacteia which will not help you a lot, and salty water serve to protect your eyes. Typically, it wll be ok with your eyes. But if the situation do not turn out right, and your eyes are still painful, I suggest that you go to an eye hospital for help.
If there is only a little of perfume splashed into your eyes, please clam down and hold your eye open with one hand and pour water over your eye with the other hand, try to flush your eyes with water, and you can use a small measuring cup to pour the water into your eyes, and if there is a lot of perfume splashed into your eyes, you have to go to a doctor as soon as possible, because it's very easy to get an eye infection.