1. Go to https://www.origin.com and sign in.
2. Sign in and choose EA Account and Billing.
3. Click on the point "Security"
4. Click on "View" back up codes.
5. Creat new codes.
6. Copy three black backup codes into the fields, gray codes are invalid.
Here is a guide video link: https://www.youtube.com/watch?v=qYXy2GTo6DE
More details, go to https://help.ea.com/en/article/origin-login-verification-information/