You will need to reach day two first, and then work through the following.
Head into your cave and talk to Sam or Claire. Choose "Can I talk to you about something?" and click through every option — that conversation is what opens up the spear.
Leave the cave and go right to the steps. Climb them and pass behind the waterfall on the left at the top. You are now in the woods, where two or three trees stand in the upper left. A stick lies on the ground there — that is your spear shaft.
Go back towards your cave and down to the beach at the bottom of the map, then all the way to the far right. There is a rock you can pick up; your character will comment if it is your first time.
Return to the cave, talk to Sam or Claire again with the same question, and select the stone option. Open the menu with X, choose "Make Tool", pick sharpen, select the rock and confirm. Then go back into Make Tool, choose "make a spear", select your sharpened rock and the stick, and make it.
To use it, open your bag, select the spear and equip it. It sounds like a lot of running around, but each step is quick once you know the route.