Fix Type your password followed by the verification code – Legacy Apple Devices
Choose Apple menu > System Preferences. Click Sign In. Enter your Apple ID and password. If prompted, enter the six-digit verification code sent to your trusted device or phone number and complete sign in.