You should join him and follow him in whatever rak’ah he is in.

When i join the congregation if i dont know weather the imam is praying the 2nd rakaat or the 4th rakaat what should i do? how should i join him and what should i intend?

Prayer |