Stomach issues.

I've always had stomach issues. Always being nauseous, going days being constipated and then random nights of painful diarrhea. Well, my doctor said that its hereditary because my nana went through the same thing, but now that I'm pregnant, I can neither take Imodium or gravol... So I've just been sticking through it... Does anybody have any suggestions to help out?....