Hi ! As both you and your husband have got gastro intestinal problems together, it seems that infection you got has a common source, most likely some food from outside which you both might have consumed. Possibly you have not taken any medicinal treatment for the same nor you have consulted any doctor till now. Once the infection persists in the stomach, it may give rise to all the symptoms you have mentioned about.
I will advise you go for a stool test
and if necessary , a culture sensitivity of your stool, consult your family physician, and take appropriate antibiotic covering both aerobic and anaerobic organisms. Amebiasis
has to be specially thought of. You can also add some kind of probiotic
with anti flatulant drug, and a proton pump
inhibitor. Hope this will solve your problem. Wishing you an early recovery.