How long does it take gastritis to heal caused by excessive neurofen intake over 5 years. I am taking somac 40mg?

Hard to say. Since everyone heals at a different pace. For most, I would expect 6 weeks would be sufficient provided no other co-existing (co-morbid) factors ( steroid intake , excessive acidity , H pylori infection etc).