Thank you guys.
@Raj-Its easy to do so ill tell you what i have done
How to do light painting.
1)A Tripod or a place where you can keep your camera steady.
2)Will need a dark room at the beginning.
3)Switch camera to manual mode and set the shutter speed to 10.,F to 8 and ISO to 50,Set the timer between 5 to 10 seconds.
3)By using a torch or some lights try something in front of your camera.(once you take some photos will know how to set the Camera to take light painting)
These are the settings done by me on my camera.
Karthik.