Except, well, to get polio vaccines and smallpox vaccines etc.
Those aren't mandatory either, in the sense that every state has opt-out for all so-called "mandatory" vaccines.
So, who is forcing anyone to get anything?