You should immediately get an Endoscopy
done for the problem. You might be consuming unnecessary and unwanted pills to reduce pain that could have caused more damage in the form of NSAID
or ulcers. You might need other tests as well.
YOu should stop consuming them with immediate effect. Peptobismol is very temporary but would not manage the pain completely.