Hello marvincollins,
If you have the AirPods Pro, they may be eligible for this repair program: AirPods Pro Service Program for Sound Issues - Apple Support
If you do have AirPods Pro, you'll want to follow the information and links in the section titled:
Service Process
Choose one of the service options below to have your AirPods Pro serviced. Your AirPods Pro will be examined prior to any service to verify that they are eligible for this program. AirPods Pro (left, right or both) with a confirmed issue will be replaced. The AirPods Pro case is not affected and will not be replaced.
• Find an Apple Authorized Service Provider.
• Make an appointment at an Apple Retail Store.
• Contact Apple Support.
If you have a different model of AirPods, follow the steps in this article:
If your left or right AirPod isn't working - Apple Support
Take care!