Jump the gun

Photo of track runners
The phrase jump the gun means acting too soon before it is the right time.

The origin of this idiom is from racing. A runner who starts before the starting signal has jumped the gun.

He jumped the gun and announced the results before they were confirmed.