Thanks for posting in the Apple Support Communities tiya162,
If you're using iPhone, the following steps my help:
1. On your iPhone, open an audio app, such as Podcasts
or Music
, then choose an item to play.
2. Tap
, then choose a playback destination.

Note: If your AirPlay 2-enabled devices don’t appear in the list of playback destinations, make sure they’re on the same Wi-Fi network. With a Bluetooth device, the playback destination returns to iPhone if you move the device out of Bluetooth range.
To select the playback destination, you can also tap
on the Lock Screen or in Control Center.
Note: For information about setting up a Bluetooth audio device, see Pair a Bluetooth headphone, car kit, game controller, or other device.
Play audio from iPhone on HomePod and other wireless speakers
Should you need further assistance, providing additional information, like which device you're using your AirPods with, and the OS version it's running, may increase the chance that members of the community are able to offer specific and relevant guidance.
Cheers!