You must first register for a 2FA provider account. There are numerous suppliers, including Authy, Duo, and Google Authenticator. The service provider will supply you with a special key or QR code once you have created an account.
After logging in, visit the security settings on your account. Enter your provider’s key under two-factor authentication, or scan the QR code. Next, select activate. Now that you have two-factor authentication, you are safe!