In Ramadan, it is not allowed to eat anything or even drink anything while fasting, however after Iftar, you can eat sweets.