Open TikTok, go to 'Settings and Privacy', access 'Privacy', and review the 'Who Can Send Me Messages' option.