Burnt and burned are two spellings of the same verb. The usage depends on the variant of English.
In British English, both “burned” and “burnt” are used interchangeably for both the verb and the adjective, so either got burnt or got burned may be used.
In American English, “burned” is used for the verb, and “burned” and “burnt” are both used for the adjective. Got burned is standard in American English.
It’s important to choose one spelling and use it consistently. The QuillBot Grammar Checker can help you with this.