Thank you for using Apple Support Communities!
I understand from your post that your iPhone 6 is stuck in headphone mode. If you have followed all the steps in the following article you may need to contact Apple Support for additional assistance:
If your iPhone is stuck in headphone mode - Apple Support
Apple - Support - Solutions