Clean out your charging port with a soft cotton swab. A bulb syringe can also be used to remove and loosen debris. Apple advises against using any abrasive cleaners, such as bleach or hydrogen peroxide. Additionally, avoid getting any moisture inside your phone.