Don't worry about downloading apps -- your iPhone already has several tools to block all those annoying calls and texts from random numbers.
Open either the Google app or Chrome browser on your iPhone. Tap the three-dot menu, scroll down and tap Search Screen with ...