If you are already receiving Social Security at the time, you become eligible for Medicare, then you will be automatically enrolled in Part A. If you are not already receiving Social Security, then you have a window to enroll in Medicare that begins three months before the month of your 65th birthday and ends three months after. You will be penalized if you don’t enroll during your initial window of eligibility.