Understanding the New-Keynesian Model When Monetary Policy Switches Regimes