Try to force restart your iP6s:
Press and hold both the Home and the Power (or Side) buttons for at least 10 seconds, until you see the Apple logo. When it appears, release both buttons, wait for your device to restart, then test it.
If you get no help, read this If your iPhone is stuck in headphone mode - Apple Support
Regards
Giulio