Yes, you can use this antibiotic ointment to treat a fungal infection, but it’s for use on the skin only. Do not use this cream for infection in other body parts and refer to a doctor for proper treatment.