hypothyroidism causes hair loss, medication for the disease causes hair loss, what do I do to stop going bald?

Thyroxine, the medication, is a case of the cure being worse than the disease. It makes me feel horrible, and the doctor just tells me ‘to continue taking the medication’.