How do I create a surface from 4 lines (rectangle)

I have extruded a rectangle, but now the structure is open on 2 sides. How do I create a surface?

Hi,

Have you extruded the whole profile (by tapping on the sketch filling) or just the lines?

Make sure you extrude the sketch filling and then you shouldn’t get the mentioned results.