对一份英文短文进行语法和拼写检查，并提供纠正后的版本。


原始文本: 
"After finished his work, he walked to his house but realized that he forgot his keys inside his car. He started to panic and trying to remember where he put his keys. Finally, he was able to call his wife to help him and she came within just a few minutes."
Corrected text: 

"After finishing his work, he walked to his house but realized that he had forgotten his keys inside his car. He started to panic and tried to remember where he had put his keys. Finally, he was able to call his wife for help and she arrived within just a few minutes."