Goku has died five times in the official storyline, Bun when swipe  to know more.

Goku got involved in atonement to save Gohan from raditz. He got killed by piccolo with special beam cannon

 Goku died in the canon timeline, He provoked Hit to kill himself by Hit's Phoenix Eye Fist

Goku has a heart infection, which makes it difficult for him to perform simple tasks like flying without becoming exhausted. And it was a natural death

The second time Goku died was during the process of the cell games saga.

In a different timeline where Zamasu was not defeated by Beerus, the Supreme Kaia Apprentice killed Goku and his family.