Government can either spend more money itself, or try to stimulate private spending by cutting taxes or lowering interest rates. This will raise actual output to the level of potential output, thereby closing the output gap.