Black was also responsible for the development of cimetidine , a H2 receptor antagonist , a drug used in a similar manner to treat stomach ulcers .
It is a drug used to treat stomach ulcers .