When you experience digestive issues, such as diarrhea or constipation, the type of fiber you eat matters. Soluble fiber is best for diarrhea relief, while insoluble fiber helps improve constipation.