Thanks for reaching out to the Apple Support Communities.
It sounds like your iPhone is stuck in headphone mode, is that correct? If so, there is a support article that addresses this issue.
If your iPhone is stuck in headphone mode
Do you have one of these issues?
- After you plug any headphones into your iOS device, sound plays from your device's speakers instead of the headphones.
- You unplug your headphones, but when you adjust volume on your iOS device, you still see a Headphones volume indicator.
If so, take your device to an Apple Retail Store or Apple Authorized Service Provider for inspection. Don’t have a nearby service location? Contact Apple Support.