Buy these stocks with pricing power as inflation runs rampant, UBS says

Generac Holdings Inc. generators sit stacked at the ABT Inc. warehouse in Glenview, Illinois.
Tim Boyle | Bloomberg | Getty Images

Firms with plenty of pricing power are poised to do well when inflation rises, and UBS has chosen a few companies that could thrive.