When I start up, I hear a clicking noise as if the battery is dead, then nothing on 1995 Honda Civic

This happens after I've driven the car, then park it for a few minutes. When I try to start the vehicle a few minutes later, then all I hear is a single clicking. Do you think it's the starter or what? If I sit for a while, then I have been fortunate for the vehicle to start. Any ideas as to why this is happening?

Asked by for the 1995 Honda Civic
I say the starter is bad it gets hot from driving and doesn't work but when it cools done it works. Check your wiring and connections at the battery and starter.
Thank you for your response. I think you're right.