Relapse of stomach ulcer is common, and you should talk with your physician.
You may have to undergo test for Helicobacter pylori and eradication treatment, upper gastroendoscopy for evaluation of scar tissue where you had your previous ulcer, and therapy with drugs that reduce stomach acid production.