Welcome to Health Care Magic
The blood appears to be from the throat, that is inflamed - allergic or infection
See your ENT specialist
You have not stated your age, gender, personal habits, family history or co-morbidities
Since it is recurrent, have some basic investigations - X-ray chest and sinuses
, Blood counts, bleeding diathesis...
For the long term, it is wiser to stop tobacco and alcohol...
Wishing speedy recovery