Win ten battles first. Once you hit that mark, a challenger appears — the character can be male or female depending on your progress — and beating that fight awards you a Dragon Ball.
Repeat the pattern to gather the set. The requirement is straightforward grinding, so the fastest approach is picking a strong character and running short matches rather than long ones.