With taxes of course.
Collecting money is just a bonus.
It is certainly better than subsidies (because it lets market, not government, to decide on the best solution), although of course for politicians it's easier to create subsidies than taxes.
As for what to do with the collected money, I would suggest lowering other taxes, or just give it to everybody in the same amount.