What Is Intuition

If our thoughts create our feelings then what do we do when we have gut feelings that are swaying us to do or not do something? Just change the thought and change the gut feeling? Is intuition just a lie then? (Like my gut tells me to stay away from this person. But now I see it’s my thoughts about this person causing my gut feeling. However, my gut also realizes that I haven’t done enough work to be peaceful around this person so trusting my feeling to stay away from this person feels like a good decision here).