Hey there Lavalock,
To clarify, are your headphones disconnecting at random and unable to connect again? If so, try the steps below to help:
To get help pairing a Bluetooth accessory—like a wireless keyboard—to your iOS or iPadOS device, try these steps:
Make sure that your Bluetooth accessory and iOS or iPadOS device are close to each other.
Turn your Bluetooth accessory off and back on again.
Make sure that your Bluetooth accessory is on and fully charged or connected to power. If your accessory uses batteries, see if they need to be replaced.
If there's an app that you use with the Bluetooth accessory, go to Settings > Privacy > Bluetooth on your iOS or iPadOS device, and make sure that you've turned on Bluetooth for the app.
Should the issue persist, continue with the steps under "If you still can't pair or connect your Bluetooth accessory" in this link: If you can't connect a Bluetooth accessory to your iPhone, iPad, or iPod touch - Apple Support
Take care!