There are a number of sensible lifestyle habits that can help avoid constipation. Drinking eight 8-ounce glasses of liquids – especially water – is highly recommended to help avoid constipation. Try to avoid too much of caffeine-containing beverages such as coffee, tea, or cola drinks.