Final answer:
The sentence contains a double negative, which can be corrected by using a single negative.
Step-by-step explanation:
The main issue in the sentence is the use of a double negative. The phrase "didn't do nothing" contains two negative words, "didn't" and "nothing," which cancel each other out and create a positive meaning. In standard English, a single negative is sufficient to express negation. To fix this, the sentence should be written as "I didn't do anything."
Learn more about Double negatives