How to convert this shape into a solid one?

Thank you.

I also tried deleting them as I go but I think I’m doing wrong.
For example, for the first step (I think it can be applied for the rest of the model) I tried it like this with no success:

question