CSS can be put into three different places.  Which one you use depends on the occasion.  Learn all three and use the one which is most suitable at the time.