How do you activate phone and get phone number?

When you buy a phone it usually has a red card in the box or package you can activate a phone by calling or by computer. You can go on the phones network provider like t-mobile and version. After you activate your phone they will send you a text saying what your # is if they don't then go under contacts and scroll down to my number.