Not the use of oil to avoid sticking is the problem, but eating it after that.
Besides choosing a kind of fat that is less sensitive to temperature, as described in another answer, when possible you should try to clean the fried food of the frying oil and to throw away most of the used oil.
Besides choosing a kind of fat that is less sensitive to temperature, as described in another answer, when possible you should try to clean the fried food of the frying oil and to throw away most of the used oil.