State Tax exemption ammendment

Hello,

For the last three years i have been paying state taxes when I should not have been. My legal state of residence is CT, but I have not lived in CT for more than 30 days and meet all conditions for Group A to be exempt. How do I amend my 3 previous taxes returns to get all the money back I've was exempt from paying?