w salam agar aapne 3 rd rakat ke rukuse pehle ya ruku main shirkat ki hai tou woh aapki 1 rakat hogi or second rakat main aapko hamd wa sura silent padhna hai or imam ki 4th ke tashahhud tak shirkat karni hai than aap 3rd and 4th khud continue karenge