It depends on your ticket. If it is just one ticket, it will be forwarded. For two tickets, you have to collect your baggage and pass the security checks. You will need a transit visa to do so.