A lot of doctors preach how important sleep is. This is so very true. It is very important to know how much sleep is right for you. It’s not 8 hours for me, it’s 7 hours. I can function off of 4-5 hours, but I’ll need a nap by around 2pm, or try to forced the issue with coffee. It’s not sustainable and it goes badly after a few nights in a row.
If you’re having trouble sleeping it’s likely going to be an issue unique to yourself, and the best way to figure it out is try changing one thing at a time and document the results until you figure it out. For me it was getting exercise every day, and no alcohol after 7pm.
But regardless, sleep, even if it means finding a way to get in short naps during the day. You’ll be happier.