if you are falling off the sides: try to land with your boots right above the rail in an athletic stance feet about shoulder with knees bent.
if your feet are sliding out from underneath you and your hip is hitting the rail: widen your stance more lean more towards the front of the rail and stiffen your back leg a little bit
when your first learning just try to come off the rail switch cuz its easier cuz your already spinning that way