Is fibromyalgia inherited and can it be cured?

I just found out I have fibromyalgia. My mother has it too. It this disease inherited?