If you want to wipe the phone totally clean here is what you do.
Go into Options>Security Options>Security Wipe.
From there you can choose the type of data you want to delete. ie: Emails, contacts, Etc. User Installed Applications.
Enter the word "Blackberry" into the box and click "Wipe". It will take a few minutes depending on how much data you've chosen to delete.