Hello GeorgeeH96,
We understand you're experiencing issues with your AirPods, and we'd like to get you pointed in the right direction for a resolution. Which AirPods do you have and what device are you using the AirPods with?
Regarding your microphone, a great way to isolate issues is to check your current settings. If you're using an iOS device, your AirPods can be set to always use a specific microphone, or you can set it to automatically change based on how your device is being used. Those steps can be seen here: Adjust the settings of your AirPods Also, try to use an app to record your voice, for iOS use Voice Memo. Test to see if the issue persists with the voice recording.
Do you have another device you can connect the AirPods to? This can help us narrow things down. Also, check and make sure interference isn't a factor here: Resolve Wi-Fi and Bluetooth issues caused by wireless interference
Take care.