This depends on the bonus you claim, but most of them are valid from the moment you claim them. To be sure of this, always check the terms and conditions related to the bonus before claiming it, and also check the validity period.