Here's a YouTube link on how to do a plank. Like they said, start out with 15 seconds. Increase by 5 seconds every two days. As Bbro said, rest on your elbow rather than hands. Start this way. Once you are stronger, you can attempt the side plank.
http://youtu.be/dz0oFaVGuh4