Mainly nothing. As I get older, it seems to come after the second lap... "Eat.....less....pizzzzaaaaa"..
During racing, not just local stuff, but qualifiers and bigger races, I ride like shit if I can't gain mental clarity. The past few years, at local races, it seems like I always had my wife and kid (3.5 year old now) in the back of my head. Mainly when pushing or thinking about jumping a booter here or there. Once I lined up at a regional, post kid, I was so in the moment it was like I was soley put on Earth for that moment. I might try for Loretta's again just to try to achieve that clarity again, like granular clarity. I can see the grainyness of the sand in my head right now from a few corners at Baja.
When I was younger and had no F's to give, I would think about all kinda stuff. Seemed like the less thought I put in to it, the better I rode.