Press your lips together to stop the air, then release. No vocal cord vibration.

Americans pronounce panic as PA-nuhk (/ˈpænək/). In "panic", the "a" vowel before M or N raises and fronts toward [eə] — the tongue pulls up and forward, breaking the vowel into a tense glide as it anticipates the nasal. This is called the Cat-Vowel Before M/N, a small move that separates 'classroom' from 'native'. It comes out as PA·nuhk. Stress falls on the first syllable — keep everything else short and quick. You'll hear it in sentences like "The channel panel began to panic about the scandal".
Record yourself saying "panic" and play it back. The mic stays on your device — nothing's uploaded.
2 syllables, 5 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Press your lips together to stop the air, then release. No vocal cord vibration.

The tongue relaxes down in the back and the corners of the lips relax before the consonant. This adds a schwa-like 'uh' relaxation after the /æ/. Think of it as 'relaxing out of the vowel' — it is no longer a pure /æ/ sound.

Touch the tip or front edge of your tongue to the roof of your mouth behind your teeth. Air flows through your nose.

Relax your lips, jaw, and tongue completely. Drop your jaw slightly and keep the tongue neutral.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "panic", the "a" vowel before M or N raises and fronts toward [eə] — the tongue pulls up and forward, breaking the vowel into a tense glide as it anticipates the nasal. The "/æ/" vowel raises and fronts before M or N — tongue pulls up and forward, producing a tense [eə] glide (between /e/ and /ə/). Not a pure /æ/.
Stress falls on the first syllable, not the others. Stretch PA — keep everything else short and quick.
Don't pronounce the first syllable too fully. The unstressed syllable reduces to a schwa — the lazy "uh" sound — in casual speech.