There are lots of threads about this in the forum, but the basic fact is that both "will + verb" and "be going to + verb" are the future simple.
In many cases, they mean exactly the same thing. Sometimes they don't. Do you have some example sentences to give us which are confusing you?
Student or Learner