Method Of Sajad E Sahoov
There are different methods for this. You can learn them from the following link https://www.javedahmedghamidi.org/#!/mizan/5aa6a4315e891e8f44a45788?chapterNo=4&subChapterNo=0&subChsecNo=9&lang=ur
From the Hadith I read, I believe u are suppose to pray an extra rakat to make up for the forgotten rakat and then do sajda of forgetfulness.