There are many threads about tilemaps, just search the forum
(If you have issues with the forum search, use Google with the
site: filter). You should also have a look at the official vertex array tutorial, because that's the way to draw large tile maps efficiently with SFML.
And do not watch Youtube tutorials, they're usually not as good as they seem and teach a lot of bad habits and questionable code style.