You would file a 1040X to amend your tax return.
But just to be clear, you didn't use TurboTax, right? You are asking your question on the TurboTax website, but TurboTax is not able to file a 1040NR. If you did use TurboTax, I recommend going to a tax professional to correct things.