Hello,
Thanks for writing to Health Care magic, I am Dr , Muhammad Ahmad , I have read your question closely, I understand your concern and will be helping you with your health related problem.
Your problem seems to be caused by Stomach/gut upset,it also looks like you are going to gym so you take less fiber and vegetables and more meat and
proteins so you stool bulk is less and worm like stools are there, it needs life style modification before any medication , here is what you need to do.
1) Avoid coffee, caffeine, Fizzy drinks , junk food,
smoking, alcohol (What ever is relevant).
2) Take small multiple meals instead of few larger ones.
3) Drink much fluids.
4) Use fruits and vegetables more than meat.
5) Use fiber diet like fruits vegetables whole grain bread and fiber supplements if needed.
6) Stay physically active.
7) If you are over weight reduce it. Which i think you wont be as you are gyming but still has to mention this.
8) You can discuss with you doctor about digestive enzymes they too help with digestion and excessive gas.
9) Use milk products less.
I hope this answered your question, If you have more queries I am happy to answer you.
Regards.
Dr.Muhammad Ahmad