I've gotten careful with caffeine consumption. On all days, flying, no flying, red eyes, no red eyes, I do not consume caffeine after 12:00. I began this habit about 10 years ago and it's worked wonders for me in terms of sleep.
For red eyes, one of the hardest things to do is not stress about getting in a nap. It's one of the easiest ways to ensure you won't nap beforehand. I don't tell myself I HAVE to nap; I tell myself it'd be nice, but if you don't, it's not the end of the world. I've gotten in anything from no nap at all to 3+ hours. It's okay.
You will figure out what works for you. Listen to the advice in this thread; a lot of great tips and tricks. And hey, in the end, there's always "studying the overhead panel"