If you accidentally write "infanity" instead of the correct word, here are a few suggestions to rectify the error. The correct word may be "infantry", which refers to ground forces in military operations. Alternatively, you may have meant "infamy", which denotes a state of being famous for something unpleasant. Proofreading is always essential to catch such unintentional misspellings.