After you file

Alright, but what about the payment? Based on the 1040NR should I be able to know how much I have to pay back the IRS? How can i do the payment? Should I send the amendment and wait for the IRS tell me how much I need to pay?