If you received a text or email with a two-factor sign-in code or two-factor authentication (2FA) code while logging in to your Epic Games account, use the code to finish signing in to your account.
If you received a text or email with a 2FA code when you are not logging in to your Epic Games account, someone else is probably trying to access your account.
To keep your account secure, we recommend resetting your password immediately. See password reset instructions here.
Go here for more information on Securing Your Epic Account.
Let us know how we can help you.