(1) In case the vaginal discharge took place and you did not observe it then you shall not be considered pure rather if you offered salah without washing the place which is smeared with impurity then salah shall not be valid. Thus consider over it and assess the salahs which have been offered in the state of impurity and make its qadha; offering nafl salah instead will not be sufficient , rather it shall remain liable on you.
(2) In case the semen discharged with lust then it made ghusl wajib. It was not enough to wash the cloth and make wudhu. Thus whatever salah you have offered in this state it is also wajib to repeat them. However, if the fluid discharged without lust due to some illness then it shall not make ghusl wajib. In such a case, it was enough to wash the cloth and the place where the impurity was smeared, and the salahs offered in this state were valid.
Allah knows Best!
Darul Uloom Deoband