Things like medical advise and scientific consensus gets questioned often. Here's some thinking I had about that situation.
Scientific thinking does evolve. Otherwise we would still be using yesterday's computers today; like 5 1/4 inch floppy disks.
Usually, but not always, a consensus among scientists (when there is a consensus among scientists) is a good bet compared to randomly striking out in all directions. Following scientific advice is usually, but not necessarily always, the best course at a given time.
Sometimes a consensus of scientists can go in the wrong direction and some outside influence will eventually revolutionize the science to a better course. This happens somewhat rarely, but it can happen. More often the science is closer to the best answer than the alternatives.