I want to get closer to allah . Like sunni go.to jammat for 40days what can i do continously fir 40days without cutting from society

It is highly recommended to read Ziyarat Ashura continuously for 40 days. Another thing is reading Dua Ahd after Salatul Fajr