Integrity and Fiscal Stimulus

How can governments prevent the siphoning of public funds for private gain?