You throw the Elemental Sphere at a point within range and it shatters on impact. An elemental of challenge rating 5 appears in an unoccupied space within 10 feet of the point of impact. The elemental disappears if it drops to 0 hit points.
The elemental is friendly to you and your companions for 1d6 rounds. Roll initiative for the elemental, which has its own turns. While friendly to you, it obeys any verbal commands that you issue to it (no action required by you). If you don't issue any commands to the elemental, it defends itself from hostile creatures but otherwise takes no actions.
After 1d6 rounds have passed, you lose control of the elemental (unless you have a means of asserting control, in which case those rules apply). When uncontrolled , it becomes hostile toward you and your companions, and it might attack. An uncontrolled elemental may choose to go wherever it pleases, though if given an opportunity to return to the Plane of Fire it will go there.
* - (Sphere of Fire Elemental)