On your profile view a page of yours on the TikTok app, you will need to tap the icon of settings present at the top right. Next, you will need to tap the icon of the toggle that is present next to the option of profile view history for turning it off or on. The method is pretty simple and you can use it to keep creepy people at bay.