A few details would help pin this down: Are you on a console? Is it a legitimate copy? And exactly where does the prompt appear? Team Fortress 2 normally doesn't ask you to repurchase a valid disc, so this could point to a non-legitimate copy or a specific platform quirk. Confirming those details is the first step to solving it.