The law can be bad and a specific legal argument against it can be wrong at the same time. Would you logically accept (as opposed to mere political convenience) every potential argument whose conclusion is that this law is invalid? If not, does that mean there is something “wrong with you”?
On the object level: giving medical advice is a form of (literal) speech. If you want to practice medicine and give medical advice as part of that practice, there are tons of constraints on what you can say to patients. The argument you’re laying out here is clearly too general.