Remove the spark plugs and try to turn the engine over manually with a wrench on the crank pulley. You may have internal engine damage and it may have seized up the engine.
RepairPal Certified shops can diagnose and repair your 1997 Mazda Millenia. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.