Acid Reflux and constipation

I am have been diagnosed for ulcer, malaria and constipation. I have been taking some drugs. right now my legs or body are weak. I can't sleep much.