UPCs can be obtained by applying for a GS1 company prefix and generating numbers through their system. This process ensures that your product's UPC is unique and recognized globally.