How do u know where to put A/s

i was wondering where you put the a/s, in the layer or on the object. Whats the diffence to put a/s in the layer or on the object?