yeah, first you have to do a chin stand (what i am doing in the pic)
you go down, usually helps to be on carpet if your just beginning so you can pull yourself into position it should not hurt too much, you should feel a stretch that might hurt a little, and if you stop breathing try stretching a little more, you may not be ready
to go on to a chest stand usually you start in a chin stand and hug your legs, which will make you rock back a little and you can lift your head up off the ground