There is no vaccine to protect against shigellosis. To prevent the spread of Shigella bacteria, you should:
Practice good hygiene, especially frequent handwashing.
Wash your hands immediately after changing a child's diaper, especially if the child has diarrhea.
Dispose of soiled diapers in closed-lid garbage cans.
Swim only in lakes and pools whose water quality is monitored by local health officials.
When traveling to developing countries, drink water that has been treated or boiled. Eat foods that have been cooked thoroughly. Don't eat unpeeled fruits. Peel fruits yourself immediately before eating them.