How to solve Magic Square

A magic square is divided into two: a magic number and a magic square.
You see, every magic square has a magic number.
The sum of the numbers in the diagonals, rows and columns must be the same.
You have to put in the numbers which when added to the numbers corresponding add to the magic number of the square.
A magic square is in square shape it contains of some sub boxes where we keep one box one number number is not repeating in any side we add the numbers we get the same number