Your bags will be tagged through to your next flight as long as your connection is within 24 hours. You need to clear Immigration, collect your bags from the carousel and go through Customs. Exit the terminal and take a taxi or bus to your departure terminal. Check in for your next flight as usual.