The verb "pet" has several forms depending on the tense:
Present tense: pet / pets
Past tense: pet / petted
Past participle: pet / petted
Present participle: petting
Third-person singular present: pets
Gerund: petting
Both "pet" and "petted" are acceptable as past tense and past participle forms, though usage may vary by region and preference.