Welcome to healthcare magic!
Last thing first- You are very unlikely to have ulcer in stomach because it does not cause loose motions.
You are most likely having a gut infection(Gastroenteritis
), it is over a week so more likely due to bacterial infection.
I would advise you to keep yourself well hydrated and take slightly more liquids orally than you are loosing in the stools.
You would get relief by antibiotics. Get them prescribed by your GP.
I would recommend a 5 days course of Ciprofloxacin
twice daily orally
I hope this advise would be helpful for you.
Still if you have any queries or doubts, please write me back,
I would be happy to solve them.
Wish you a great health!