2d Top Down Rouglike how to make wall collision

Hi im very new to unity and was wondering if anyone knows how to make wall collision a thing

I recommend watching this series: 2D Roguelike 1 of 14 : Project Introduction - YouTube

You can also find a ton of tutorials on top down gameplay and collision all over youtube and google.