You have several options for how to pay the money back. If you can't afford to pay the money back all at once, you can set up a payment plan. Here is the IRS link with all options and explanations.
If you need help with amending your return:
file an amended return - how to amend
track an amended return