Recoil is rarely the problem people think it is. Almost nobody is actually hurt by it. What it does is teach you to flinch, and the flinch happens before the bullet leaves, which is why it costs you accuracy instead of comfort.
Everything below is in order of what it returns for what it costs.
Most of the fix is here. On a handgun, get the web of your strong hand as high into the tang as it goes, and fill the entire left side of the grip with your support hand, thumbs forward. The support hand does most of the work. A shooter who changes nothing else usually sees the difference on the target the same session.
Weight forward, nose over toes, elbows soft rather than locked. Leaning back away from the gun is the instinct and it is exactly backwards. With a rifle or shotgun, pull the stock into the pocket of your shoulder firmly enough that it cannot get a run at you.
A flinch is anticipation. The cure is not knowing precisely when the shot breaks. Press straight back, keep pressing, let it surprise you. If you are unsure whether you flinch, have someone load a magazine with a dummy round mixed in and watch what the muzzle does when you hit it.
A heavier gun recoils less than a light one in the same caliber, which is why full-size pistols are easier to shoot than the pocket version of the same round. Beyond that, a muzzle device redirects gas and cuts muzzle rise, and a silencer does more for felt recoil than anything else you can hang on a rifle. We install muzzle devices and silencer mounts at the counter, and the silencer side is a lot simpler than most people expect right now.
Dropping to a smaller caliber in a smaller gun. A light pocket pistol in a mild caliber can kick harder than a full-size one in a stouter round. If recoil is putting you off, try a bigger gun before you try a smaller cartridge.