You should get your investigations done like haemogram , x ray
chest ,sputum examination .
I would like to know your age.
You should get your cardiac status checked.
It can be due to tuberculosis
also so consult a physician.
It can be due to stomach causes in which endoscopy