Apple may replace your AirPods if they are under warranty and the malfunction is due to a manufacturing defect. Contact Apple Support for more information on warranty claims and possible solutions.