Check the size of the collider boxes for both the player and the spikes. Sometimes, it's best to adjust the collider box slightly smaller than the player/spike, allowing a little leeway for the player. Keep going, you will improve as you try more game jams.