Your mic is a small hole or other port located beside the USB connector, usually at the bottom of your phone. Simply wiping your phone is not enough, as dust or other small debris can get packed in. If you don't clean your phone every once in a while, dirt can build up in the small openings like the microphone port, even if your device has an IP68 rating for dust and water resistance. A new software update usually fixes any bugs/errors that the current version may have, which could affect your microphone. If a quick restart doesn't work, check for software updates, located under Settings > System > Advanced > System update or similar. Leave it off for 30 to 60 seconds before turning it back on, then check to see if the problem is resolved. Hold the power button until the menu appears, then choose Power > Power off. Restarting your smartphone refreshes your system by clearing all processes and closing apps.
Sometimes the easiest solution is the best solution.