During the 1,500-year period that the Bible was written, it did not mention anything about vaccinations because synthetic medicine has not yet been discovered yet. However, the Scriptures teaches that there are natural remedies to various illnesses.
Let’s take for example the sickness of King Hezekiah. He was already near to his death, when he asked the Lord to remember his obedience and prolong his life. God, then sent prophet Isaiah to give the king the medicine. He collected a lump of fig leaves, boiled them, and let Hezekiah drink from it. He became well again, and his life was prolonged for another 15 years.
This story does not mean it is the medicine alone that is important. The herbs and even the medicines we take are all instruments from God to make us feel better.