There are handguns in RE3, so the question is probably about a specific one. Two candidates:
The standard handgun you simply start with — Jill has it from the opening of the game, no pickup required.
Then there's the Desert Eagle, which some fans argue is a magnum. In this game it looks and sounds like a handgun and uses handgun ammo, though in other entries in the series it behaves more like a magnum.
Assuming the Desert Eagle is what you're after: defeat Nemesis in the police courtyard, then again in the second encounter. After the first battle he drops Desert Eagle Part A; after the second, Part B. Combine them in your inventory and you have the weapon.
If you meant neither of those, the question needs to be more specific — there are only so many guns to choose from.