CAR SOMETIMES DOESNT WANT TO START

2007 Opel Astra • 92,500 miles

Hi. Sometimes when I want to start my car it doesnt want to. It doesnt even make a start noise, then the car icon with the spanner appears but after a while it starts. This doesnt happen everytime just sometimes.