Springfield Armory XD subcompact in either 9MM or .40 would be a good choice and it’s pretty economical. If you need to go a little less expensive, an S&W Sigma (not as refined but serviceable) or a used Glock 19 or 12 compact would also be good choices. I’m not big on Sig because they’re expensive and don’t feel as good as the Glock to me but they’re good choices if you can get a used one. Taurus model 85’s in .38 are good alternative to S&W and Ruger’s SP 101 in a revolver. I’ve never had an problems with my Taurus.
Sorry, meant a Glock 23 not 12.