What should be done to stop a oil leak from a 99 Chevy Metro crankshaft position sensor?

the seal on the crank shaft needs replaced