Cooking Oil

I have several bottles of cooking Oil. Vegtable, and other kinds. Some are old so I am afraid they are rancid. Is there a way to save these or must they just be discarded??