There is no single best time to eat fruit. Whole fruit has fibre, takes longer to eat and fills you up. A glass of juice packs the sugar of several fruits, and packaged juice often has added sugar.
Choose whole fruit, have 1-2 servings a day, and ask your doctor about portions if you have diabetes.
This is general information, not a substitute for medical advice. If you have a medical condition, are pregnant, or take regular medication, talk to your doctor first.