Car sometimes does not start

I have Toyota Corolla (1997 model). Last few days it wont start immediately. I have to try for few minutes and thereof it starts.

This problem is mainly in morning for the first time or if I have not started car for 8-12 hours.

Thanks for your help.

What happens when you try to start it?