A beach tent should have stakes that are long enough to anchor it well in the sand. The peg should be tied at the top of the peg, buried deep into the ground perpendicular to the angle away from the shelter. The peg should either be threaded like a screw or bolt, or u shaped and curved with multiple holes downs its length. These two peg designs increase the surface area that the peg acts against the sand, increasing the friction. However, if you find your tent is still moving or easily blowing away or want to provide extra stability, you can bury a bag filled with large rocks under the sand and tie it to the guy ropes. This too gives extra surface area for fiction to add on, as well as the weight of the tent itself keeping the tent down. Burying an anchor means that the sand that is acting on the anchor is deeper and often moister and denser. The extra weight and density will further ensure the anchor does not uproot.