After you file

If you filed with the wrong form Use Form 1040X to correct that.

Prepare the return using the correct form.

Fill out Form 1040X (where you will list the refund in hand) and send it with the corrected tax return. Explanation: "I filed with Form 1040 and should have filed Form 1040NR, attached"