Codes usually arrive within a minute. If yours hasn't, try these steps.
Try this
Check your spam or promotions folder.
Make sure the email address is correct. Use Change email address to fix it.
Wait for the countdown to finish, then choose Resend code.
Use the most recent code. Older codes stop working.