96 corolla relay clicking

I popped the hood to checked the oil and heard the relay in the fuse
box clicking. Car has been running fine, starting etc. Key was not in.
sitting in P, no power that I could see. I don't know a thing, is the
relay going bad? do I need to replace it or is it something else? thanks