'Get a rock on' is phrase that someone would use after another person has said something to them that has no relelvance to them.
"Ha! I'm 16 tomorrow and you're not," says Jim "Get a rock on," replied Remus sarcastically.