The first step in buying a number is to register a reputation. They are regulated and maintained by name registrars, which guarantee that there is no repetition. The actual registration can be done straight through the registrar but probably will likely be carried out by a third party similar to https://www.corneliuswebsitesolutions.com/