Yes, the Social Security Administration deducts the premium for your Part B monthly premium from your monthly Social Security check.
If you’re in Part B but not collecting Social Security, the Centers for Medicare and Medicaid Services will bill you quarterly for the Part B premium. You can pay the premium electronically by sending a check through the mail.