I would not try to think that there's a technique that you do that will just fix the problem. I went delirium tremens on at least 1 of my alcohol withdrawals. I had benzos prescribed a couple of times but only took them as directed for maybe three days? I can't remember exactly. Sometimes you just have to endure things and you can change your mindset and use that shift to get through better, but it's easier said than done and not a necessity. I felt shit for ages on my withdrawals with a negative mental state. Also, if you're sober three months from now will you care that much about your past poor sleep from three months prior