What does it mean to speak to yourselves in psalms and hymns and spiritual songs?

It means singing and making melody in your heart to the Lord.

Watch the Teaching: Why Does the Bible Call Some People Fools?