Well it could be a case of travelers diarrhea
, which usually resolves by itself in 3 to 5 days. Medication isnt required in most cases unless the condition of the affected person worsens. At most you should keep an eye on your electrolyte balance and not get dehydrated.
I hope this helped.
Get well soon!