Don't worry, it might not be a precancerous condition. If it was, the doctor must have taken a biopsy to confirm.
You have gastritis and as you have started on HP kit, it means you have H. Pylori infection.
Next Steps
follow the advice of your doctor and take the medicines and diet as adviced.