I don't recommend putting ointment in the eye without cleaning and flushing the eye first. My concern is that she may have gotten plant material or debris into her eye which can lead to a corneal abrasion or scratch. If we apply ointment without flushing the eye that can make the debris stick and do further damage.
Ideally she would see her veterinarian and have her eye stained to look for a scratch before medication is applied.
I understand that may not be possible tonight.
I do recommend that you flush her eye several times with sterile saline. This is the same solution that soft contact lens wearers use in their eyes, ask the pharmacist or drug store clerk for help if you are unsure.
The apply artificial tears every hour or two tonight. You can find these available over the counter at the drug store too. The more lubricated her eye is the better for her and the more comfortable she will be.
Then as long as the bacitracin zinc and polyxin B ointment does NOT have a steroid you can apply it tonight and tomorrow morning. Keep her in low light as that will keep her more comfortable.
In case this is some sort of allergic reaction give her Benadryl (diphenhydramine) at a dose of 1mg per pound of body weight orally every 8 hours, that's one 25mg tablet per 25 pounds of body weight every 8 hours. Antihistamines may make her very sleepy which would actually be good.
If you have one available an elizabethan collar (lampshade or cone of shame collar) should be put on her so she cannot damage her eye by rubbing it.
The she can see her veterinarian tomorrow.
Let me know if you have any further questions.