No, coffee won't make your gastritis go away. Consuming coffee on an empty stomach might cause gastrointestinal irritation and worsening. It's better to prevent drinking coffee if you have gastritis ultimately.