I have a question about dependents

My daughter that is 8 years old was living with my all of 2016. I am preparing myself to do my taxes and I asked the mother of my child for her SSN and the mother informed me that she had already claimed my daughter in her taxes for 2016. What can I do because she did not ask permission nor was my daughter under her care for 2016?