A Flaming Sphere will 'attack' anyone it rolls into the same square as:
If it enters a space with a creature, it stops moving for the round and deals 3d6 points of fire damage to that creature, though a successful Reflex save negates that damage.
However if its 'at rest' it doesn't move:
The sphere moves as long as you actively direct it (a move action for you); otherwise, it merely stays at rest and burns.
However what happens if the sphere rolls into the same square as a target on turn 1 (who rolls their Reflex save as per usual) but said target then doesn't move out of that square?
Does the mage need to use their move action to attack the target again even though the sphere is still in the square as them?
Note: The flaming sphere is 5 ft diameter in both 3.5 and Pathfinder and a standard 3.PF square is 5 ft square.