The reason you get conflicting information is that different ways work, but some people are convinced their way is the best way and think the other way is awful. The simple answer is you can do it either way. There are different advantages and different risks to each of them.
If you want her to hatch eggs, you can move her to her own enclosed space. Lock her in an area with a nest, food and water, and enough room to go poop. Get the area set up then move her at night.
I don’t know what your situation is with eggs. Is she sitting on the eggs you want to hatch? It’s important all the eggs are started at the same time. If you want her to hatch those eggs, move them with her. She might or might not accept the move. That’s one risk of moving her. Or you can use those eggs when you move her to help her accept the new nest, but collect all the eggs you want her to hatch and start those when you see she has accepted the move, discarding the other eggs.
Or you can let her hatch with the flock in that nest. Again, it is important all the eggs start at the same time. Either mark her eggs or collect all you want her to hatch and mark them, then start them at the same time. Then every day after the other hens have laid, look under that hen and remove any eggs that don’t belong. As long as you collect them every day, they are still good to use. I just put a couple of circles on mine with a black Sharpie.
When the eggs start to hatch, leave her alone. When she decides the hatch is over, she will lead her chicks off the nest and take them to get something to eat and drink. The hen will take care of everything, including protecting her babies.