A protection system is provided that mitigates damage caused by slug flow in oil and gas production systems. The protection system opens or closes a choke valve based upon flow parameters such as the separator pressure and level, and the riser pressure. The choke valve position is calculated based upon a number of factors of the production system in order to maintain efficiency while providing safety.