How do you get a fence on harvest moon Magical Melody?

Well... in the lumber shed behind your house if you press (A) you will get a peice of wood called a 'stake' and you collect these and just drop them where you need a fence.