The IRS may catch this error and correct it for you. If they do you will receive a letter with an explanation and instructions.
If they do not catch the error then you will need to file an amended return.
It would be best to wait until your return has been accepted and processed before you amend.
-follow this link for amended returns-
How to Correct Federal Tax Returns - TurboTax Tax Tips ...