I did wudu and while doing it I saw that a little something had come out of my nose but I forgot to remove it. After I did wudu I went and prayed isha and only remembered it then. Now I am not sure if my prayer is valid
Removing mucus from the nose does not invalidate wudhu and neither does clotted blood. Only flowing blood or pus from the nose invalidates wudhu and anything else can be removed from the nose such as mucus.
NOTE: THIS IS ONLY REGARDING THE NOSE AS THERE ARE OTHER BREAKERS OF WUDHU
Like any library, Islam Stack Exchange offers great information, but does not offer personalized advice or legal verdicts, and does not take the place of seeking such advice from your Mufti, Imam, or other trustworthy Counselor.