After you file

Its in my divorce i claim my daughterbon taxes eveey yr but my ex wife has bee. Ever since she been sepreated and i found out she is doin it illegally and i claimed her last yr but i have court papers innmy divorce stating i am suppose to claim my daughter and i want to ammend my taxes from 2012 till 2016