Balanitis treatment may include medicine or surgery. If a fungal infection is the cause, antifungal cream or ointment is used. If an STI is the cause, antibiotics may be prescribed. If foreskin symptoms don't go away, surgery to remove the foreskin can be done.