If you do not qualify as their dependent, they cannot claim you. If they can properly claim you, you will just have to amend your tax return. There is no penalty unless you had fraudulent intentions. If you received a refund and should not have, you will have to pay it back. See the qualifications below.
https://ttlc.intuit.com/questions/3113432
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"