Assuming you have a SIM card in and also have service - I've heard some carriers don't store the number on the SIM correctly.
Sometimes you can put your SIM in an old flip phone, go to 1) contacts then own phone number or 2) sometimes it's in the settings/setup section, and put in your number.