Flomax (tamsulosin) is primarily used to treat symptoms of benign prostatic hyperplasia (BPH) in men, such as difficulty urinating. While it may help alleviate urinary symptoms associated with BPH, its effectiveness for treating frequent urination at night in women is limited, as it targets specific prostate-related issues.