Labor before C-section

What happens if you have a scheduled C-section but you go into labor before the date? Do you the do it when you go into labor or do they let you try and deliver vaginally?