I filled all the information and made the payment and at the last step while reviewing the returns I found out that it filled Form 1040 for me instead of Form 1040-NR?

I need to fill 1040-NR instead of Form 1040