How can atoms fill their outer electron shell?

They can share electrons.

They can gain electrons.

They can lose electrons.

all of these