First, try putting it upside down (with the ball down) on a piece of white paper, and rubbing it around hard. Should clean it up, and it should work ok. The scrollball is notorious for jamming in just the way you described, probably just needs cleaning.
If that doesn't work, bring it in to the store you got it from, or call the main AppleCare number if it was bought online.