Telling people what to do when they disagree with you doesn't work. Even provide what you believe to be facts to counter their views can sometimes get them to push back even more aggressively and go deeper into their bubble.
The temptation is for governments and organisations to enact authoritative vaccine laws to force people to get vaccinated in the interest of safety. But, it might be worth considering more ethical ways of persuasion.
Jonah Berger a professor at the Wharton School of the University of Pennsylvania and the author of The Catalyst: How to Change Anyone’s Mind. he states in his article for Harvard Business review that,
Rather than trying to persuade people, getting them to persuade themselves is often more effective.
Jonah lists three effective ways to do that.