In Depth-First Search (DFS), each node is visited once when it is initially discovered. Once DFS visits a node, it marks it as visited, so it does not revisit the node in the same DFS traversal.
However, depending on the implementation, a node may be encountered multiple times when revisiting neighbors, but it’s only processed once.