Pokemon not following

After I got out of the battle frontier my pokemon stopped following me so how do I get them to follow me again? (I’ve already tried blacking out)

Try healing at a pokemon center.