The time it takes for a belly button infection to heal depends on the type of infection. Bacterial infections should be treated with antibiotic ointment or oral antibiotics, and fungal infections are treated with antifungal creams or powders.