If that's the case, you may qualify for a special enrollment period.
Can I apply for Medicare when I turn 65?
You can enroll 3 months before your 65th birthday. You have up to 3 months after your 65th birthday.