We use Going to ; for something which is planned before !
And Will , for something that we decide to do at the time of speaking (suddenly may be) , or a probability in the future !
Example :
1- Tomorrow i'm going to the beach . (i'm sure that i'm going to go , i planned everything)
2- Tomorrow i will go to the beach. (i just decided it at the moment , maybe i will go maybe no)