As per your history, you should go for UGIE i.e upper gi endoscopy.
Also, you need to get investigated for h pylori infection.
Till then you can take:
Tab. Pan-D 40mg once a day before breakfast
Syp. Sucralfate 15ml three times a day
Next Steps
Continue with these medication till you get further investigated.
Health Tips
Avoid spicy & oily food, also tea & coffee.