Unlocking Gaara in Don Battle Stadium is straightforward, if a little frustrating. Start by heading into Story Mode and completing it—the difficulty level doesn't matter, but be sure to finish some missions along the way for it to work properly.
Once you've beaten the mode, a slot machine challenge will appear. Your goal is to land three Jump Pirates, then follow up with three golden question marks. Keep in mind that the reward isn't guaranteed to be a character, and you'll likely come up empty-handed about 70% of the time. Persistence is the name of the game here.