The only sure way to diagnose stomach cancer is through a biopsy.