If the airline is responsible for you missing your connection they are obligated to get you on the first available flight to your final destination. It is best to speak to airline staff and have them arrange this. On the other hand, if you're responsible for missing your connection, the airline does not have to refund or book a new flight for you.