2000 voyager

2000 Voyager…won’t start. Ran fine before I installed new oil pan.
Now when you turn the key there is a rapid clicking coming from the auto shut off relay that won’t stop even when I turn off the key.
I have to remove the relay. I switched the relay with the ac clutch relay. It still does the same thing.