Ultraviolet and infrared effects on lattice gauge theories