You can buy Medicare Part B (Medical Insurance) through the , even though it's a Medicare program.
Visit your local Social Security office, though it’s recommended to call ahead for an appointment. When to Buy
Log in to or create a my Social Security account to apply online. This is generally the fastest method.