I don't know the gender of the subject, so I will give some regular suggestions to the subject according to my own experience and some information I have checked before.
1. When you work late at night, you must protect your eyes. It is easy to get tired when facing the computer for a long time. It is suggested that vitamin A should be supplemented. There are many eye patches on the market to relieve eye fatigue, which are actually good. You can apply a tablet to relieve eye fatigue when you rest between staying up late.
2. Add some vitamin B and protein, which I have seen in many posts about staying up late. Eat beef and eggs.
3. Be sure to sleep during the day! Even if you can't sleep more, you can take a nap at noon.