If it was TurboTax (so many of their users come to JustAnswer for assistance) then you can follow these steps:
If you haven't already opened your rejected return, now's the time to do so.
Follow any "fix-it" directions you see in your program (not all rejections will have this). Otherwise, navigate to the program area to address the cause of the rejection, then proceed to the final step.
Note: If the info you originally entered is correct, you won't be able to e-file. There likely is a data mismatch at the government, a dependent that's already been claimed, or some other "unfixable" situation that blocks you from e-filing.
In these cases, we recommend paper-filing by mail rather than wasting additional time trying to "fix" something that is beyond your control.
Next Re-file your return
After completing the previous steps, you're ready to re-file.
In your TurboTax program, click File in the upper-right area (mobile devices: tap in the upper-left corner to open the side menu, then tap File).
Follow the onscreen instructions to either e-file your return or file by mail.