You can enroll in Medicare Part A and/or Medicare Part B in the following ways: 1  Online at www.SocialSecurity.gov. 2  By calling Social Security at 1-800-772-1213 (TTY users 1-800-0778), Monday through Friday, from 7AM to 7PM. 3  In-person at your local Social Security office.