What things invalidate taharah? Do we have to redo taharat after passing wind? or after falling asleep?

After passing urine, stool, passing wind, sleeping where you cannot hear anything and entering in janabat (after which ghusl is wajib). For women, after entering into haidh and istihadha they also have to do wudhu