Several ways you can do this. Are you wanting to restore it to factory defaults or just get the bb to reset itself?
To do a reset the fastest way is to pull the battery and let the bb reload. If you want to wipe the bb and re-install to factory settings, go to Options. Security. General Settings. Click Menu and select Wipe Handheld.
This will wipe the bb and you can install fresh after that.