Using two anchors is usually a bad weather practice, or used for security where there are current or wave issues. But how you deploy two sets of ground tackle depends on your situation and a number of variables, including the wind, water depth, sea state, and other boats in the area. For example, do you set both off the bow, or one off the bow and the other off the stern? That tried and true practice does keep the boat from swinging, and keeps your bow in the preferred direction. Most of us use the bow/stern because of current, wind, etc., or in an anchorage where the boat’s swing is likely to be limited by other boats.
The easy way to hook is the simplest. Set the bow anchor, pay out excess rode, and drop the stern hook, then set that by powering forward toward the original hook while taking in the original excess rode. Once the boat is where you want it, cleat off both rodes, making sure you have adequate scope on both anchors.
A second, and confortable way to use two anchors to limit swing is a Bahamian Moor. Set the anchors as above, then walk the stern line around to the bow, and cleat accordingly. Yes, the rodes can get twisted, so check and adjust regularly.
One last item: Remember to buoy/mark the anchors when you can. You never know when a less experienced boater will come in and anchor on top of yours,