You cannot input Action Replay codes directly into a Game Boy Advance cartridge. Action Replay is a physical hardware device that intercepts game code—it requires the device plugged into the GBA slot.
Pokémon FireRed on original hardware does not have a built-in code entry system.
Warning: Cheats can cause instability, glitches, or save corruption. Use at own risk.