Conversely , when a budget surplus occurs , the federal government can use excess funds to reduce the debt held by the public , accumulate cash balances , or acquire nonfederal financial assets .
The government is prohibited by law from using budget surpluses to reduce public debt .