1) Take out old sensor
2) screw in new sensor
Obviously, make sure it's empty first, I know you're not daft but it had to be said
I think technically you should replace the gasket, but I've had mine out half a dozen times and it's still fine.- then again, I'm wanted by the Gasket Reuse Police.