Depending on the hardness of the candy I would wait at least 3 days. After 3 days check and if the queen isn't out poke the candy out with a nail so they can get her out faster. If you poke out the candy be careful so you don't push it inside the cage and injure her. After that don't meddle with them for at least another week other than giving them syrup.