Use a snap ring, Guaranteed to not fall out.
Not sure what size ya need for your piston But they can be bought at ACE Hardware
Just take your piston with you and see what size snap ring fits. You'll need snap ring pliers too.
These pics are of 14mm snap rings, They fit my Whizzer M/B 57mm piston
View attachment 161450