A little smart planning can go a long way.