Hello, Linda and welcome!
Bless you for taking in this little 'Pig' you have found!
The ophthalmic ointment you describe, is used for bacterial infections in and around cats' eyes, but we are not permitted to tell you to use any prescription medications unless prescribed by a vet who has examined your kitty in person. Here is more information about the Bacitracin-Neomycin-Polymyxin B Ophthalmic Ointment:
If there is some drainage from the eye and it's puffy (swollen), this might indicate an eye infection; typically, the discharge would be greenish or yellowish if infection were present. However, if the drainage is clear, Pig may have a scratched cornea or other injury to the eye and should be evaluated in person by a vet, as soon as possible, before it worsens. For the moment, if you choose to start him on the ointment until you can get him to a vet, it should help if any infection is present. It would be a good idea to have him seen, in any case, since you found him and need to know if he's in good health; he will need vaccinations if he's old enough, etc.
I hope all will be well with Pig!
Please be so kind as to rate my answer with positive feedback; that is the only way I receive credit for my assistance. Thank you very much!
Providing a positive rating will not end our conversation, should you need me for any follow-up. Simply click 'Reply' for clarification or additional information, if needed, and I will be happy to continue.