COBRA (the Consolidated Omnibus Budget Reconciliation Act) allows you to stay with your employers group health plan for a limited time after your employment ends. It usually lasts from 18-36 months. You cannot keep COBRA forever, so it’s a good idea to enroll in Medicare once you are eligible.
You may be eligible for Medicare if you are 65 or older or if you have certain qualifying disabilities. Keep in mind that if you are turning 65 soon, you should enroll in Medicare ASAP. If you wait too long, you’ll have to pay a late enrollment penalty fee.