If you purchased the game from a store like GameStop that holds the disc and inserts and packages them together when you buy them you will need to return to the store and they can provide the codes that you need.
If the game was sealed in plastic and unopened I recommend speaking with a Game Advisor here:
1 Click on the following link:
https://help.ea.com/contact-us2 Make sure you are logged in (top right corner)
3 Click on the blue button "Contact a Game Advisor"
4 Enter the name of your game or product (or "Origin" for account-related issues) and click "Find Solutions"
5 Select the type of issue and the platform you play on, and click on "Find Solutions".
6 Click on the blue button "I still need help" if the FAQ articles do not apply to your situation.
7 Select a contact option. Note that you may get different contact options depending on your country.
I recommend that you use the telephone option and the “call me” option so you don't have to stay on hold for a long time (call back feature available to North America only).