I don't know what Asacol HD is, but Asacol is a med for the colon and shouldn't really have anything to do with upper GI pain. Losing hair could be from the 5-ASA, tho. You should read the literature that comes with the medicine.
You might think about taking a ppi like prevacid, prilosec, nexium, etc. That should help with upper GI stuff.