AirPods not working
What do I do with AirPods that don’t work?
What do I do with AirPods that don’t work?
It's hard to find out the problem without anymore description but here are some articles that might help.
If your AirPods won't connect – Apple Support (UK)
How to reset your AirPods and AirPods Pro – Apple Support (UK)
They charge, pair I can hear the sound it makes when I put it in my ears with both phone and MacBook but can’t hear the music or sound that I’m playing
It's hard to find out the problem without anymore description but here are some articles that might help.
If your AirPods won't connect – Apple Support (UK)
How to reset your AirPods and AirPods Pro – Apple Support (UK)
In this case try resetting your AirPods.
AirPods not working