Chosen Solution

I have a galaxy S8 doing the exact same thing. Any suggestions?

Hi There it starting to appear that the Microphone in the phone is broken and needs replacing.

Hi there is your phone charging ok because on the Samsung S8 the flex ribbon has the type c charge port and microphone integrated into one flex ribbon which is needed to be replaced u can purchase 1 ebay under 5pound ish