Thanks for query,
As your secondary control of brain on bladder has not been established properly you have this problem.Usually this control established in early childhood but in some cases it occurs late.
you need to take imipramine
group medicine 75 mg daily for at least 6 weeks under medical supervision. this will help you.
you have to be positive in your life this will help to concentrate.
you need not to worry for your marriage life as it does not affect your sexual life.A frank discussion with your partner is essential.