After you file

There are certain rules that control who can claim a dependent.  If you follow the rules you will be fine.  If someone else did not claim a child, and then you did but your claim was against the rules, and they are now claiming the child, then you are in the wrong for not following the rules.

 

But you would need to read the rules carefully, or post more specific details, for an answer that is specific to your situation.