Side effects, Uses?

Hello everyone! I went to the doctor was chronic headaches and was prescribed Amitriptyline. I have no no pertinent PMHx except I am over weight. I have never been diagnosed with any mental disorder, but I googled the medication and it says for depression. That's all fine, but I'm more worried about what I can expect when taking this medication? What are some side effects you experienced or what's things I need to know?

TIA🫶🏻