I have a 2005 toyota corolla ce with about 77k miles
Lately I've been having problems starting my car.
When I try to start the car I hear a terrible clicking noise. The noise almost sounds like a small jack hammer.
After I try to start the car up the second time I begin to hear the familiar normal/healthy start up noise yet it sounds sluggish and slowly progresses to start.
It takes about three tries to finally get the car going.
I thought it was the battery so I took it to AutoZone to have it recharged. Luckily the car returned to normal. Then, a few days later the same symptoms returned

I also forgot to mention that sometimes when I start the car the motor has this unusual shaking movement.
Anyone have any ideas?