leeshor is dead on with that advice. Might want to make sure you have your contacts backed up somewhere else first though, if you're planning on getting a new phone.
If I remember correctly, the RAZR Maxx HD option is in Settings > Backup & Reset > Factory Data Reset. But like Jonny stated, its always somewhere in the main Settings menu, either in Backup & Reset or inside Security.