Xbee Wifi s6b Need Help.

Hello… i am a beginner in creating arduino projects. and i am trying to communicate My arduino with Xbee Wifi s6b… Kindly help me in coding the necessary syntax to run this project. i like to control a LED connected to the arduino via a andriod app, i created a Wlan via Xbee Wifi s6b. what codes to i upload in my arduino to communicate and control my LED… Please Help me with this project…