I think the only way the prevent them is from getting a good nights rest then night before. I find it happens only when I'm pretty tired. But everyone is different, so some might just naturally get them more often.