Pistol squats are really challenging and not something most people need to be doing. They come with a lot of risks in that most people can't handle the range of motion and/or the overloading of the knee required to do them effectively, and the reward is not that high. You can train the same muscles in much safer ways. If you really want to do them, I recommend going slow and using an assist from a TRX or similar product.