If you remember it soon after the salah, you must offer it. but if you remember it after leaving the masjid or after a long gap, your prayer is correct but there is nothing else to do.
If you remember it soon after the salah, you must offer it. but if you remember it after leaving the masjid or after a long gap, your prayer is correct but there is nothing else to do.