The past tense of get in a panic is got in a panic.
The third-person singular simple present indicative form of get in a panic is gets in a panic.
The present participle of get in a panic is getting in a panic.
The past participle of get in a panic is got in a panic.