What are possible prevention or protection measure in a volcano?

You can evacuate people around the volcano. You can also make barriers to divert or slow lava but this isn't a very dependable way. there are seismographs that scientists use to predict and warn people with, but many people do not wish to leave the rich and productive farmland and beautiful scenery around volcanoes and near volcanoes.