What car is it Deb?
Does sound like the stater motor relay.
Its a 2 and a half year old scenic 1.9 dci.
I don't think anything was left on although as I said we had been having troubles with the keycard locking and unlocking and maybe whatever the clicking was was draining the battery?
Neither my husband nor I know anything about cars so would appreciate any advice as simple as possible!