Your post is a little vague, still you can try and design a simple phased antenna patch array, vary the shape of the substrate to your objective and you will get some insight on the matter.
thank you viper for your help.well im already design it but unfortunately the gain that i got is low and not high as i want.do you have any suggestion how can i improve my gain?