This may be because of some INFECTION. Or sometimes just Gastritis can cause this. Tests are usually to find type of INFECTION but needed only if any sign pointing towards it.
ANTIBIOTICS or other medicines may be needed depending on various factors.
Next Steps
avoid spicy foods coffee tea cold drinks alcohol smoking junk food etc.
Health Tips
maintain hydration. plenty of fluids coconut water lemon juice etc.