Is It Compulsory For Men to Get Married?
Question

Is it obligatory for men to get married?
Praise be to Allah.The ruling on marriage for men differs according to their situations and circumstances. Marriage is obligatory on the man who is (financially and physically) able to marry and longs to get married, and fears “hardship” otherwise, because it is obligatory for him to protect himself from committing forbidden deeds and to keep himself chaste – and this can only be achieved through marriage.
Al-Qurtubi (may Allah have mercy on him) said: 
“If a person is able to marry and fears that he may be harmed or his religious commitment may be adversely affected if he remains single, the only way to prevent this harm is through marriage, and there is no difference of opinion among the scholars – they agree that marriage is obligatory on such a person.
Al-Mardawi (may Allah have mercy on him) said in his book Al-Insaf: Part Three: the one who fears “hardship”. In the case of such a person, marriage is obligatory, and this is the unanimous opinion of the scholars… “Hardship” here means zina (fornication), according to the correct opinion. Or it was said that it means being doomed by committing zina … What is meant by “Unless he fears that he may fall into committing forbidden actions” means, if he knows or thinks that he will do that. In Al-Furu’ it says: (marriage) becomes obligatory only when he is sure that he will do that.” (Al-Insaf, part 8; Kitab Al-Nikah, Ahkam Al-Nikah)
If he wants to get married but is unable to spend on a wife, then he should adhere to the words of Allah (interpretation of the meaning):
“And let those who find not the financial means for marriage keep themselves chaste, until Allah enriches them of His Bounty.” [Al-Nur 24:33]
So he should fast a lot, because of the Hadith narrated from Ibn Mas’ud who said that the Messenger of Allah (peace and blessings of Allah be upon him) said: “O young people, whoever among you can afford to get married, let him do so, for it helps one to lower the gaze and protect the private parts (i.e., remain chaste). Whoever cannot afford it, let him fast, for it is a protection for him.”
‘Umar said to Abu’l-Zawaid: “Nothing is stopping you from getting married except incapacity or immorality.” (See Fiqh Al-Sunnah, 2/15-17)
Marriage is obligatory on anyone who is single and committing sins such as looking (at women) or kissing. If a man or a woman knows or thinks it most likely that if he does not get married he will commit zina – or whatever comes under the same rulings or is similar to it, such as masturbation , then marriage is obligatory. 
It is still obligatory even if a person knows that he will still sin after marriage, because once he is married he will be less likely to sin, because he will be distracted from it at least part of the time, whereas if he remains single he will sin all the time.
Anyone who looks at the state of things in our times, how there is so much immorality and so much temptation, will be convinced that the obligation to marry is even more important now than at any time in the past. We ask Allah to purify our hearts, keep us away from haram things and help us to be chaste. 
For more, please see this category: Ruling on Marriage.
And Allah knows best.