The question is very broad, and might require a book to answer.
some quick points:
A lee shore
Inadequate anchoring tackle - poor, damaged or undersized anchor, rusty or weak swivel, unseized shackles, worn or weak rode, etc etc
as to a book to read: check out Happy Hooking - the Art of Anchoring
One place to avoid anchoring a boat would be to not anchor it near a launching ramp.
austin117 Find a point of reference first
Throwing the anchor as far away from the boat as possible and backing up
Throwing the anchor as far away from the boat as possible and backing up
you should avoid throwing the anchor as far away from the boat as possible and back up
Turn on an all-around white light when anchoring your boat.
Turn on an all-around white light when anchoring your boat.
in the wind current
From the bow
Near a launching ramp
If anchoring, secure the anchor line to the bow of the vessel, never to the stern.
Three-Strand twist nylon