Generic is called "tamsulosin".
I have been using it for years to ease the pain of urination. It actually works for me, BUT I would NOT recommend starting this if you don't absolutely need to.
Beware that it will complicate any future eye cataract surgery you might have. It causes a condition called "floppy iris". If your surgeon is not aware of how to deal with it you could lose vision in that eye. It takes a very special skill to do the surgery if you have taken this medicine anytime in your life.
There are other side effects too. So be sure you want to take that risk before starting it. Once you start taking this med the side effect is forever, even if you stop.
I wish my urologist had warned me about this before I started it. From what I have read, most of them don't even know about the risks.