Advice, Please :(

How do you know if it’s a “gut feeling”? How do you leave someone, knowing you’d be better off w/o them, but they somehow are make your life happy in a sense? How do you leave without getting hurt, or is this hurt inevitable? I really don’t know what to do :(