Assalamualaikum How can we get closer to Allah? I was am a firm believer in Allah and I follow almost all Islamic duties except praying all five times (due to laziness) . I know it's very important to pray but whenever I resolve to pray regularly I do so just for a few days and then I again stop praying regularly. This happens every time 🙁 Another sin that I commit is watching pornographic and semi-pornographic videos and photos. I really want to get rid of these two bad habits and get closer to Allah
Alaikumassalam wa rahmatullah,
The only way to always be close to Allah is to make an effort every day to connect with Him, and the best way to do that is to read the Quran daily for a certain amount of time, such as an hour every day. There is no way to remain close to Allah without working for it daily. My following essay might be a good place to start for rebuilding your relationship with Allah inshaAllah:
Regarding pornography, perhaps understanding why it is morally wrong to view it would help encourage you to avoid it. Please see my essay: The Philosophy of Pornography and Masturbation