Night 2 and I’m so cooked 😭

Slept 3 hours last night and currently it’s 4:44am and I haven’t slept a wink, how long will this lack of sleep last for? I smoked weed socially for 5 years and then became a heavy smoker for the next 8 years. Now I’m on day 2 of quitting. Any advice?