Select Settings > System from the Xbox home menu. Select Storage from the drop-down menu. Choose Device Options by pressing Y on your controller to select your Hard Drive or Memory Unit. Format is the option to choose. You'll get a warning telling you that all of your data will be destroyed if you proceed.