If a quest in Free Realms has you stuck and you have no idea what to do next, you can simply abandon it.
Press L to open the quest log. From that dialog, use the close quest button, marked with an x, next to the quest you want to drop. The same panel also lets you choose which quest is your currently active one, which is worth setting deliberately if you have several open.
Abandoning is not a penalty in most cases, so if a quest is genuinely blocking your progress, dropping it and taking a different one is a perfectly reasonable move.