Police officers are allowed to stop someone they reasonably suspect of criminal activity. They may follow up the stop with a frisk (or pat-down) if they have reason to suspect that the person is armed and dangerous. A frisk in this context is supposed to be a limited search of the person's outer clothing—for weapons.