Sleep the same hours every night.
How much you sleep matters less than how regularly you sleep. A consistent rhythm will make you sharper at the same total hours than a brilliant Monday and a wrecked Friday ever can. You're a circadian animal, not a battery.