All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Zina (fornication or adultery) is a grave major sin. It is prohibited in all religions due to fatal diseases such as AIDS. It does not only bring down Allah's wrath, but also causes crimes, generates hatred among people, spoils the chastity of the person and his/her lineage and so forth. Allah, the Exalted, has imposed a great punishment on those who commit Zina in this worldly life and in the Hereafter.
Allah Says (what means): {And those who do not invoke with Allah another deity or kill the soul which Allah has forbidden [to be killed], except by right, and do not commit unlawful sexual intercourse. And whoever should do that will meet a penalty. Multiplied for him is the punishment on the Day of Resurrection, and he will abide therein humiliated - Except for those who repent, believe and do righteous work. For them Allah will replace their evil deeds with good. And ever is Allah Forgiving and Merciful.} [Quran 25: 68-70]
On the Night of Israa’ and Mi'raaj, as recorded in Saheeh Al-Bukhaari, the Prophet saw naked men and women on a building similar to a furnace, wide at the bottom and narrow at the top, and a fire kindling from the bottom. When the fire starts, they cry and come up; when it goes out, they return to their previous state. When the Prophet asked about them, the answer was: ‘They are those who committed Zina.’ They will be tortured in the same way till Resurrection.”
Allah warns us against committing Zina as He Says (what means): {And do not approach unlawful sexual intercourse. Indeed, it is ever an immorality and is evil as a way.} [Quran 17:32]
As for the punishment of Zina in the present life, if it is proved, an unmarried person is to be lashed one hundred times, and then, the man should be exiled for one year. This should be carried out by the Muslim ruler. As regards a married person who commits Zina, he should be stoned till death.
Allah Says (what means): {The [unmarried] woman or [unmarried] man found guilty of sexual intercourse - lash each one of them with a hundred lashes, and do not be taken by pity for them in the religion of Allah, if you should believe in Allah and the Last Day. And let a group of the believers witness their punishment.} [Quran 24: 2]
This punishment is for unmarried persons guilty of the above sin but if married persons commit it, the punishment is to stone them to death, according to Allah's Law.
The Prophetic Hadeeth explained the above verse stating: "One hundred lashes and one year exile for a bachelor and a married one should be stoned (to death)." [Muslim, At-Tirmithi, Ibn Maajah]
As for your friend's saying 'How can I endure?', we clearly state that whoever believes in Allah, the Final Day, the Reckoning and the punishment, Hellfire and Paradise, should have patience, fearing Allah and longing for His reward.
On the other hand, using medical condoms and so on does not change the Sharee'ah rulings for a believer. But, for a disbeliever, we are to do our best to convince him of Islam and belief since there will be no profit to convince him of the dangers of Zina as long as he is not a believer.
Therefore, dear brother, your first step is to convince him of Islam and the dangers of disbelief. Then, he – Allah willing – will automatically believe in the dangers of Zina.
Allah knows best.