[Beginner] Smoothing out intersected boxes?

Sorry y’all I’ve only just started and I’ve been watching some youtube guides. How would i got about smoothing out edges of walls?