Welcome to Health Care Magic
The description of his heart condition is not detailed enough to give appropriate suggestions.
may be from worsening of the pumping function (low out put)
Headache may be incidental / Is his pressure normal?
'Gastric' problem may be from congested liver
from heart failure
or stomach irritation
You must take him to his cardiologist - he needs examination and investigation...
Wishing speedy recovery