can gastritis last for months best medicine for ulcer pain gram positive cocci uti treatment