Without knowing WHICH 22 pistol, we can only surmise that you did not correctly reassemble the pistol.
See the link below for reassembly.
Recommend you seek the services of a gunsmith.
Request a manual from Ruger's website or take it to a gunsmith
You really need the services of a good gunsmith
Request a manual from Ruger's website or take it to a gunsmith
On line auctions.
If you don't have a manual, you will need a good gunsmith
See the attached Link: https://www.youtube.com/watch?v=H5qbEgnSZF0
You can get manuals at the Smith and Wesson website.
Best left to a gunsmith. They were not the most "sturdy" pistols to begin with.
You need the services of a gunsmith