If the husband is sterile and cannot have children then it is the woman’s right to demand an annulment of the marriage, because of this defect in the husband, as she has the right to have a child, and in fact that is one of the greatest aims of marriage. If it is not possible to have the marriage annulled then she may ask for a divorce and in that case he has to divorce her and give her her rights in full, like the delayed portion of the dowry, etc.
This husband’s rights over you are that you should advise him sincerely first of all. In the answer to question no. 7669 you will find information on how to advise him.
If he does not respond to the advice, and he persists in the haraam things that he is doing, then there is nothing good for you in remaining with this husband, because he is not giving you your rights, and because he does this evil deed.
Now you are at the beginning of your marriage, and it is fortunate that you do not have a child from him. So hasten to seek a divorce, and if he refuses, then separate from him by means of khula’. May Allaah compensate you with someone better than him, and bless you with a righteous husband and righteous offspring who will bring you joy.
And Allaah knows best.