Hi
Follow the steps here, including checking the charging port for any debris and contacting Apple Support, making a Genius Bar reservation or visiting an Apple Authorised Service Provider if necessary:
If your iPhone, iPad, or iPod touch won't charge - Apple Support