How can regulation affect a producer's output decisions?

How can regulation affect a producer’s output decisions?