Ways To Prevent Demagnetization Of Magnets