Apple Wired Headphones Not Working. There are ways to fix this. On some cases users find that the buttons of their not working.

Look for debris on the meshes in each earbud. If your iOS device has a case remove the case to get a firm connection. See how you can fix Apple earpods not working on left or right hand side.
To remove debris gently brush all openings with a small soft-bristled brush thats clean and dry.
Testing the speakers in Zoom. Plug your headphone in and restart your computer. I can hear audio just fine but the microphone isnt recognized at all. I sincerely recommend Tenorshare ReiBoot for you to get your iPhone out of headphone mode to fix headphone not working issue.
