There is a default option in WooCommerce from where you can control "Add to cart" redirection whenever user add a new product to their cart.
You can find the option in the WooCommerce -> Settings -> click on Products tab. When the option “Redirect to the cart page after successful addition” is checked it will redirect all users to the cart after adding a product to the cart and if unchecked page will not get redirected.