The reason doctors say not to use Neosporin is because Neosporin contains allergic ingredients which some people are allergic to.
The allergens in Neosporin can lead to contact dermatitis and cause rash, pink splotches or itchy skin.
However some people are just fine using Neosporin and as long as you're not allergic to the ingredients then it is safe to use.
Petroleum jelly products, such as Vaseline, can be good alternatives to bacitracin or Neosporin.
The petroleum jelly keeps wounds from drying out, which can prevent or ease itching and other unpleasant symptoms.
Neosporin which is also known as neomycin/polymyxin B/bacitracin, also known as triple antibiotic ointment, is an antibiotic medication used to reduce the risk of infections following minor skin injuries.
Neosporin contains the three antibiotics neomycin, polymyxin B, and bacitracin and is for topical use.
Neosporin is used to help prevent skin infections in minor cuts, scrapes, and burns, as these wounds heal.
But it's not meant to treat animal bites, serious burns, or deep puncture wounds and those might require medical attention.
A very serious allergic reaction to Neosporin is rare.
However, get medical help right away if you notice any symptoms of a serious allergic reaction, including rash, itching/swelling (especially of the face/tongue/throat), severe dizziness, trouble breathing.