Demi Lovato was taught to "follow her instincts" by John Mayer, which has helped her become more confident with her music.