To a large skillet, add olive oil and garlic slices and cook over moderate heat until golden. Remove garlic chips.
To the skillet, add rosemary, pepper flakes, and shrimp, and cook, stirring, until just cooked through, about 3 minutes. Season with salt and pepper, to taste, and transfer to serving dish. Squeeze some lemon juice over shrimp.