Hypothyroidism occurs when your thyroid doesn't produce enough hormones, and hyperthyroidism occurs when your thyroid produces too much hormone.