You automatically get Medicare because you're getting benefits from Social Security (or the Railroad Retirement Board). Part B covers certain doctors' services, outpatient care, medical supplies, and preventive services.