The best friend ribbon appears in the episode "Wormy."
It is a small, orange and light blue ribbon. The words "best friend" is written on it in red text inside of a white explosion bubble.
Role in episode
The next day, SpongeBob and Patrick look inside of Wormy's jar onto finding a "monster" with the best friend ribbon on the bottom of the jar, thinking the "monster" ate Wormy.