Pretty good asked question @AlizaKhan
WordPress provide this option or feature that you can stop search engine crawler to index your website data, unless you want. Simply follow the below steps.
- Open your WordPress Dashboard.
- Navigate to Settings > Reading.
- Scroll down and check / turn on Search Engine Visibility option. That's all.
Now search engine crawler will not crawl your website unless you unchecked this search engine visibility.