look up crooked toes in the search....and chick boot. There are previous threads tha show how to make little boots to straighten the toes. If you treat right away, you can probably fix it. Also, get some Poly-vi-Sol WITHOUT iron and give a couple drops to the chick each day. The vitamins may be able to help the chick as well.
If you are talking about the leg itself is sticking out to the side, it is splay leg. Look it up in the search in the threads as well. The easiest way I have treated it is to bring the legs together (as if the chick was standing, so there is a natural gap between the legs). Take a bandaid and cut it in half length wise. Using the band-aid strips, tape the legs straight, so when it stands the legs can't apart. There are threads with pics. It works though. I had a Java chick with bad splay leg and after a couple weeks of the band-aid strips, the chick could walk normal. Today, we haven't any idea which Java it was...they all walk normal.