Effective theories for particle and astroparticle physics: a brief introduction