Troubleshooting the WiFly shield for Arduino

Hi all.

I am using a Wifly shield from sparkfun and adruino UNO.

i m able to get into command mode. but not able to connect to wifi network.

is there some specific setting to be done for creating wifi network. confused over WEP/WPA. Which one to choose?

i use a netgear WG602 access point