Basically, on the sword tree I believe there should be a "shield branch" in which you could use a shield using right mouse button to block arrows, swords, and the bombs. Obviously you should not be able to attack while using shield, and you would be defenseless from behind.