Hi well come to HCM.
Since you have melena and you are smoker there are all the chanes of having peptic
ulcer which is giving bleeding. Consult gastro enterologist immediately and get done
other wise all the chances of massive blood loss, and at times perforation
if the ulcer is very deep. Thanks