Depending upon the location of the items on the floor to your own location, you would address the needs that should be addressed first. If the needle is close, you might very carefully pick it up and dispose of it in your own sharps container.
Next, you would assess the spill danger. You would want to make sure that no one would slip on the spilled liquid, including yourself; the pt, and any visitors-while awaiting cleanup. You must assume the liquid is hazardous since you do not know its origin, and whoever cleans the spill must use universal precausions.
Finally, with gloved hands, you could pick up the used gloves and dispose of them as you would your own.