Go to BlackBerry FAQ - BlackBerryFAQ
Find the two threads on How To Erase your BB with JL_CMDER and the one immediately after it.
Wipe it out.
Reload the OS using the "Loader" program
Your data should be in a file <something>.IPD which you can restore later (after the OS is loaded).