Effective gauge theories