Cook shrimp on the stove: If you're using frozen, let it thaw completely, then pat it dry. Heat a little oil in a large skillet until it's shimmering. Add the shrimp and cook it 1-2 minutes on one side until it's pink and no longer opaque. Flip with a pair of tongs and cook the other side.
Cook shrimp in the air fryer: Again, if you're using frozen shrimp, let them thaw and pat dry. Preheat your air fryer for a few minutes on 400° F. Toss the shrimp in some oil (like olive or avocado). Spread them in a single layer and cook for 3 minutes. The shrimp should be pink and no longer opaque. If they aren't ready, shake the basket and cook for another 2 minutes. Test again.