You can’t catch “P” in FireRed—P is from the Pokémon Mystery Dungeon series, not the main games.
You might be thinking of Mew, a Mythical Pokémon obtainable in FireRed via the Mew glitch (transferring from Gen 1 games). Note: this glitch is patched in some versions.