In most instances, you won't need to collect your bags at this connection – they will be checked through. However, if this connection involves different airlines, your bags will only be checked through if the airlines have a codeshare or interline agreement. This information can be found on the airline's website.