If you have a layover, it depends on the airlines involved. Generally, if the flights are with the same airline, your luggage will automatically be transferred to your final destination. However, if you're flying with multiple airlines, then you might need to collect and re-check your baggage during the layover. It's always a good idea to confirm the baggage handling process with the airline or check the instructions provided to you during check-in.