If your vehicle is not moving, there is obviously a control issue with the transmission, or an internal mechanical issue. Stop attempting to operate, check the fluid level and condition (is there water in there?) and have the vehicle tested.
RepairPal Certified shops can diagnose and repair your 2005 Mazda Tribute. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.