Name misspelled on my fed tax return check

my name was spelled wrong, my last name occurred twice and i do not know how to deal with this

After you file

Do you have a bank account?  If so, see if they will let you deposit it. If not, contact the IRS about getting a replacement check.