Did a tax return, accidently said I was a independent (Im 17) and just received the $1800 stimulus check the original amount I was suppose to get. What do I do?

Would it be considered illegal if I kept the money? or tax fraud?