Foods that help avoid muscle cramps include bananas, tomatoes, beans, strawberries, milk and yogurt.