Traveling to Mexico w/ a Weak Stomach!!

Every time I travel to mexico by like the 3rd day I have horrible stomach pain/nausea and diarrhea. I always have to go right away with no warning and it is so miserable! Does anyone have any ideas on how to keep my stomach regular while traveling?!