If cleaning the bolt doesn't do it you may have a real problem. Many milsurp .22s have worn out chambers and/or a deformed area where the pin hits the rim. Sometimes it can be "ironed" out with a half shell mandrel but a permanent fix is to sleeve the chamber and recut. Dry firing a .22 is a good way to ruin a rifle.