wander

verb
  1. to walk slowly without a clear direction or purpose
  2. to move away from a path, place, or subject
  3. to think about different things in a confused way

Examples