Make sure you warm up properly. 5 minutes of finger drumming on your desk and a good 10 minutes of screwing around mindlessly on a keyboard or guitar will make a good transition and prepare your body for the composing.
Do light stretching exercises between the warmup and the composing.
Since you haven't been composing in a while, start with light pieces and gradually increase the intensity of your compositions over the next sessions. It's important that you don't jump right into a high intensity music making program after a long layoff as you risk overcomposing and also increase the risk of so-called repetitive gain injuries (RGIs).
Drink water before, during and after the production. It often helps with a small meal of fast carbs 10-15 minutes before making music to get your blood sugar and performance up. Follow up with a healthy meal with lean protein and unsaturated fats. You should of course have a healthy and varied diet in general as it is just as important as regular and disciplined music composition.
Making music outside and with friends is a fun and social way to compose that makes for good lighthearted music making. Try making a jazz quartet with 3 other guys and play in the park for an evening, as an occasional alternative to your regular DAW sessions.
Resist the temptation of using performance-enhancing plugins for quick and dramatic progress. While it might make your beats sound fatter and louder for some time, I've heard it makes your Soundcloud player shrink and gives your tracks supersaws after some time.