The government awards patents. The courts can be used to decide whether a company has violated a patent and the company can be ordered by the court to pay a reasonable royalty. If they refuse, the company can be ordered to stop selling their product or service. The following article gives a pretty good explanation of how Patents are enforced...