"Earned your fun" would mean that someone did their work, and now are allowed to have their fun. It's based off of the idea that someone needs to work before they can do something more fun or entertaining.
For example, a child should do his school work before he is allowed to go play outside.