I suggest you research the FRCP, if this is a civil case.
There are certain instances (albeit rare), where you can move for summary dismissal, without attacking the merits.
One example would involve jurisdictional questions, another notice, another proper forum, etc...
Federal courts are very procedurally oriented.
Proceed with caution.
You rarely get a second bite at the apple, as in being allowed to cure a defect or improper pleading.