How gender shape the way people view themselves

How does gender shape the way people view themselves and/or the way other people view them? (to support the question use Gender role and stereotype)