If you're not already getting benefits, you should contact Social Security about three months before your 65th birthday to sign up for Medicare. You should sign up for Medicare even if you don't plan to retire at age 65.