You have been prescribed Tamsulosin
Sometimes these drugs cause Retrograde ejaculation due to Bladder neck opening
It will resolve
Next Steps
but if you have persistent pain and fever
might require surgery for the stone removal
Health Tips
it's Retrograde ejaculation
will resolve when you stop this drug.