Hi
Follow the instructions here, including contacting Apple Support (mail-in service may be available, if required), making a Genius Bar reservation or visiting an Apple Authorised Service Provider if necessary:
Get help with the microphones on your iPhone, iPad, and iPod touch - Apple Support