Cells have several mechanisms to respond to misfolded proteins, including the unfolded protein response (UPR) and heat shock response. The UPR is activated in the endoplasmic reticulum to restore normal function by enhancing the production of chaperones and reducing protein synthesis. If these mechanisms fail, cells may undergo apoptosis, which can be detected histologically through markers of cell death such as TUNEL staining.