What am I?

You throw me out when you want to use me, but take me in when you don’t want to use me. What am I?