Yes. Short term such SYMPTOMS may only be because of some INFECTION. But if problem has been longer than IBS is suspected. Treatment varies ACCORDINGLY.
Diet is very important.
Next Steps
avoid spicy foods coffee tea cold drinks alcohol smoking junk food etc.
Health Tips
high fibre diet salads green vegetables fruits etc.