Put number 1 in the middle of the top row. Put the numbers 2 up to n (= length of the square) each time one cell diagonal up and to the right. Put number n+1 below number n. Put the numbers n+2 up to 2n each time one cell diagonal up and to the right. Put number 2n+1 below number 2n. Etcetera ...
5x5 symmetric magic square
You can use this method to construct magic squares of odd order from 3x3 to infinite and you get symmetric (but not pan)magic squares.