Pain meds like oxycodone made me vomit, still does. Had anti-nausea meds, but it was a viscous cycle. After I vomit I do not want to eat for hours, and had a peg tube too. The tube infection has to be cleared up with appropriate meds wether it be for a fungal or bacterial infection, and kept clean, as Tammy mentioned. I was prescribed Bactrim ointment for a bacterial infection, and clotrimizole ointment for fungal infection, difficult to differentiate. What cleared it last time was IV antibiotics for pneumonia I was on. You don't want it to go systemic.
Good luck