Examine what gives you flow. Seek out flow experiences. Spend less time on activities that don't give you flow, such as passive activities like watching TV, and more time on activities that do.
And you need continuous and clear feedback about your progress toward the goal, so you know which direction to flow from moment to moment.