Im not sure I understand the first part of your question. Let me just check:
Did you loose your CD code?
If you did, go to
www.ea.com and select EA Support and sign in to EA Support and search for lost CD code under the topic of The sims. It will include information needed to get your CD code.