Don't be worried. you should be calm down right now. You should flush your eyes with water for about ten or fifteen minutes. Also, you can use some eye drops. If your eyes start irritating you, you need to call a doctor. If you wear contact lenses, you must take off. The air freshener may contain some chemical compositions, you should be careful when using eye drops.
Ok, I can see that now you are suffering from what mistake you have made. And as you can see air freshener is design of make the air fresh and clean, killing bacteria. However, it is made of chemicals which could leave impairment to your eyes. So, what you should do right now is to wash your eyes thoroughly with a lot of normal saline.Then try to get some antibiotic eye drops. Also try not to rub your eyes for that would cause infections.
You'd better wash the eyes with clean water as soon as possible to get the air fresherner in the eyes out. Then you could use the clean and soft cloth to dry the eyes. At last, you could use some eyes drops to release the symptom. You could also use the warm compress to make your eyes feel comfortable.