Locked out of 2-factor authentication

I am locked out How can i disable the 2-factor authentication? Thanks.