Stop in for a cup of coffee

It was no fun.
Can that just come on all of a sudden or do you get a warning (thinking driving etc.)