To tease or mock someone in a good-natured way. They would often rag him about his obsession with comic books.
To scold or criticize someone persistently. She would rag him about his messy room until he finally cleaned it.
To play or arrange (a piece of music) in ragtime style. Jazz bands would often rag popular tunes to give them a fresh rhythm.