If you have a MasterCard or Visa the security number is the 3 digit number listed on the signature panel of the credit card. This can be found on the reverse side of your card where the signature appears.
In the case of the American Express the security number is the 4 digit number shown above the credit card number on the front of the card.