وعليكم السلام ورحمة الله وبركاته
The very first thing that you have to do is to be constant on your Salaah. You mentioned that you aren't performing Salaah anymore; that is one of the worst things to do. These kinds of thoughts are caused by Shaytaan. The more you strengthen your relationship with Allaah Ta`aalaa, the more these kinds of thoughts and feelings will disappear, In Shaa Allaah. The very first step in that direction is to establish Salaah and to be consistent upon it. Leaving off Salaah leaves you open to the Wasaawis (insinuations) of Shaytaan.
With regards to marriage, the `Ulamaa have said that if a person fears he will fall into Haraam if he abstains from marriage, then marriage becomes Fardh (obligatory) upon him. If you do not get married, what will happen?
One advice I must give here is that, never ever consider homosexuality to be permissible, like some people do these days. The Qur'aan and Sunnah are clear that homosexuality is Haraam and a sin. If a person believes that homosexuality is permissible, he becomes a Kaafir. If a person says that homosexuality is Haraam and evil, but does it anyway, he remains a Muslim, albeit a sinful one. However, Shaytaan tries to take people into the trap of saying that it is permissible, and when the person has fallen into that trap, he has left Islaam, wal-`Iyaadhu Billaah.