Chosen Solution

When i plug my headphones and start music, the sound come from speaker of the phone, i have an ipad, i plug my headphones in and work , and its not an apple headphones, i restart the phone and still dosen t work, what should i do?

I would try following: Any other wired headphones - if works, then problem with your headphones. Any bluetooth speaker/headphones - if works, then problem with the audio socket, see guides how to clean it, maybe its just some dust from your pocket. If neither works, then the problem is with the software, try wiping, resetting configurations.

P20 sound is working perfectly but only experiencing a problem when I receive an incoming call, I cant hear the person on the other side and must switch on the speaker and sometimes it is very unprofessional when everybody can hear what is being said. how do I fix that ?