Bluetooth earphone lags a lot

After tweaking for days, I was finally able to get my Bluetooth devices to connect.
Now the issue is that the sound lags a lot on my Bluetooth earphones. I have looked around a bit but haven’t been able to solve this problem. Note that it works perfect on windows.


(my answer is just as detailed as your question is)