Refrain from consuming spicy, acidic, and abrasive foods that might offend the ulcer and prolong the recovery.