You can refer to the following paper which provides a thorough overview on the use of artificial neural networks in analysis and synthesis of microstrip antennas:
Article Modeling of Microstrip Antennas Using Neural Networks Techni...
You have to build the layers of your ANN. then use GA to train. use your ANN model as the input function to GA and the weights as the variables to optimize and then use the cost function of ANN to optimize. It can be done very easy in MATLAB.