If a carry-on bag doesn't fit in either in the overhead bin or under the seat in front of you the airline staff will be repaired to transfer it in the hold, and you will receive your bag after you leave the airplane.