when i try to change my mac address it keeps reverting back
You have provided zero context.
What operating system are you on? what tool are you using? What command are you typing? What is the error message?
If you ask questions like this you won’t get an answer!