How long can you go past due date?

Ive been thinking what if i go past my due date and get to 42 weeks. That really scares me. Has anybody gone past 42 weeks ? Is that even safe? And if the baby doesnt want to come do they induce you ?