It depends on the bonus, but typically you can only withdraw the winnings from your bonus after meeting the wagering requirements. In addition, depending on the bonus the deposit amount, bonus amount or winnings might be restricted to a specific set of games.