If that's a Windows Phone, then you can't.
Depending on the model, you might want to resort to a factory reset - in some newer models, you might need to enter your Microsoft credentials before you can successfully reset your phone if the device already has reset protection.