I quite often work night shifts (11pm-7am) then get asked to work a double (either 7am-11am or 7am-3pm)
Keep yourself busy, walk around a bit. Try not to sit down as much as possible. Usually always works for me, caffeine being an absolute last case scenario.