As vilas said, if you get a warning you must apply TOGA and full back stick. In case of cautions there are several courses of actions according to the type of caution.
Furthermore if your airplane is equipped with the T2CAS function you might get some other warnings like the Avoid Terrain.