This is honestly relatable; I was once up until 4 in the morning doing work, and I have to get up at 8 to get into (online) class on time. I'm never doing that again.
For sleep tips, you should first turn off your electronic devices. If you don't know what helps you fall ...
I find asmr videos really help me when I need to fall asleep! (Especially shredder, kinetic sand and slime asmr), after watching those for a bit I’m out like a light!