jump the gun
US /dʒʌmp ðə ɡʌn/
UK /dʒʌmp ðə ɡʌn/

1.
to do something too soon, especially without thinking carefully about it
:
•
I think you're jumping the gun by buying a house before you even have a job.
•
Don't jump the gun and announce the winner before all the votes are counted.