Can't figure out if I'm bi or pan

So I keep going kinda back and forth. Its like my heart loves who it loves and that makes them beautiful but my head always finds something physically arousing about them. I'm so confused.