If you want to erase your Instagram search history, follow these steps:
First, tap on your profile picture in the bottom right to go to your profile.
Second, tap tap your activity.
Next, tap Recent searches.
Then, tap Clear All
And finally, tap Clear All to confirm.