Welcome to HCM.
You can have sex or masturbate as and when you like. It will have no adverse effect on you, as you have already had the stone removed.
The effect of cystoscopy
must have already worn off.
There is a possibility that stones may recur, so drink plenty of water.