On Visa, MasterCard and Discover the security code is the three digits to the right of the credit card number in the signature area on back of the card.
On American Express, the security is four digits printed (not embossed) on the right front of the card above the credit card number.