只有 (zhǐyǒu) means "only if," and is used with 才 (cái) to emphasize that only one course of action will bring about the desired outcome.