MODAL + HAVE · PAST DEDUCTION & REGRET
Use modal + have + past participle to talk about the past:
When Maya got home, the door was open and the lights were on. Someone must have come in. The cake was gone — her brother might have eaten it. “I should have locked the door,” she thought.
The ground is wet. It rained.
I'm sorry — I have called you earlier. (regret, one word)
“I should have studied” means I studied.