How do you get a phone number for no contract phones?

Get a "pay as you go" phone plan.
You only pay when you use it. No contract. Depending on the carrier you should be able to use any unlocked phone.