Bloating & abdominal cramps are due to Gastritis only but 40 days duration is little uncertain. Fever might be due to to any other associated causes
Next Steps
Get one USG ABDOMEN & PELVIS (to rule out any intra abdominal causes)
Health Tips
Continue the same medication and better to consult directly if symptoms still persist