Quick question

So let's say a person would go on Safari to look up stuff to masturbate to and you're connected to wifi. Is it possible that they can see what you're looking up? How can I stop this? If I delete my search history can they still see it?