The people receiving Social Security benefits are automatically enrolled for Medicare Part A and Part B when they become eligible for Medicare. Others have to
Enrolling Three months before your 65th birthday month, you become eligible to enroll in Medicare. If you have already been receiving benefits from Social Security,