More than likely your body position is skewed to the side. You might want to backfly, make sure that you are not in a spin, then bring your knees to your chest with your feet tucked in. This will bring you into a semi-sit position. Be sure that you are stable in this, then push your feet down like you are standing up. Always go to your back when you cork and be stable on your back before getting vertical.