These phones cannot be formatted because they don't use an operating system like Windows phone, Android, iOS have. You can visit your local carrier operator to diagnose the error and format the phone. If you're under a contract this process is free of charge, alternatively it will cost you a small fee.