You cannot live alone. Do not live alone, as the wolf eats up the lone sheep, and Satan is close to the one who is alone and is farther away from two people who live together. So, if you live somewhere, live with at least one other person, and this one person should be righteous.
Friends are like a row of connected test tubes: if liquid overflows in one tube, the excess flows into the other tubes until there is an equal amount of liquid in all the tubes. Likewise, if you live with corrupt people, they will take away many of your good deeds, and you will decrease and decrease and decrease until you are all equal in status. You will definitely end up like these interconnected test tubes. A group of friends are all like each other, and the longer the friendship lasts, the closer the character and manners of each person in the group will be to the others. Do not believe that a good person can live for long with a corrupt person, unless the corrupt person improves and follows the example of the good person.
This is why you should look for the good people, and a friend is like a chain: s/he will either drag you into Paradise or drag you into Hell. S/he will either cause you problems or s/he will help you solve your problems...
After this, work on guarding your tongue, because most of the torture in Hell is because of the tongue. The Prophet (may the peace and blessings of Allah be upon him) said, "And will people be dragged on their faces into Hell because of anything other than what their tongues have brought forth?" (Tirmidhi)
After this, work on making good use of your time. Do not waste your time. Always try to bring about some benefit from your social gatherings. So, if you see people talking about food, drink, telling jokes, etc., tell them: 'Guys, I read a story today to tell you about something that happened in Syria, or something that the Afghans did,' or say: 'What do you think about this hadith? I read the tafsir of this verse to tell you about,' etc. Benefit them in this gathering, and occupy them with something that will benefit them.
Sit down together and read the Qur'an, read the biographies of the Prophet (may the peace and blessings of Allah be upon him) and the Companions, a simple explanation of the Qur'an such as 'Tafsir al-Jalalayn' - a simple, general explanation - and read a simple book of Fiqh, especially regarding how to pray...
Work for Allah and stick together, and the more you work for Allah, the more your souls will become strong and rise, and you will ascend rapidly upon the path of those who are ascending towards Allah.
I advise you to recite the Qur'an everyday, because the Qur'an is like water to a plant.
It is the life of the heart.