SDR: My recommendation, especially if this is your first handgun, is to go with a .357 revolver in stainless steel. Why a revolver? Mechanically simpler and thus less prone to error. Semi automatics are more complex and, depending on the make and model, can be trickier to handle and fire. Stainless steel is a “no muss, no fuss” finish and easier to maintain than a blued steel finish.
Buying a .357 allows you to shoot .38 Special (which is generally cheaper) as well. I do recommend shooting .357 Magnum ammunition on the range regularly if you’re planning to use it for home defense (which I don’t recommend).
I’ve owned a couple of .357s in my day and would strongly recommend the Ruger GP100 and Smith & Wesson Model 686 and in either 4″ or 6″ barrel lengths. The longer the barrel, the more accurate the weapon. Both of these are sturdy, workhorse-type revolvers and will last you years, if properly maintained. I shot about 25,000 rounds through the Smith before it gave up the ghost.