Start the game and hold down L, X, B, and Select together.
A prompt appears asking whether you want to initialise the save data. Confirm it and the game wipes your progress back to the beginning.
Be certain before you agree — initialising is permanent and there is no undo. If you are only trying to fix a specific problem rather than start over, it is worth backing up your memory card first so you have something to return to.