There should be a sheet of paper with the code on it. If there isn't one, contact a game advisor or exchange the game
Game advisors can be found through live chat.
In Details here: How to contact a Game Advisor using the new EA Help page
I don't work or have any association with EA. I give advice to the best of my knowledge and cannot be held responsible for any damage done to your computer/game.
Please only contact me via PM when asked to do so.