If you are having airpods won't stay connected. Then you don't need to take lots of stress about it because here I will help you to resolve your issue:
Charged your airpods
Restart your iPhone
Update your Airpods firmware
Check your audio device settings
source- https://ityug247.com/why-do-my-airpods-keep-disconnecting/