How do you spell peer like your walking along the peer?
You're thinking of the word "pier," which is a structure extending into a body of water. "Peer" refers to someone who is your equal in age, status, or ability.
So, if you're walking along a structure extending into the water, you're walking along a pier.