It looks like you might be referring to the recently introduced bug that’s moved the PetActionBar.
If so, there’s discussion this thread: Pet bar randomly stuck behind bar 2
It includes some temporary workarounds you could use until blizz gets their act together and fixes it.