help! GASTRITIS

Tiff🌛
I know this might be off topic but since about a week I've had symptoms of gastritis. Since 3 days I've been on a bery restricted diet. Was wondering if any of you have experiences with this? How long does it last for ? X