A lot of retailers offer packages where you get the espresso machine with a standalone grinder thrown in. This is a much better option.
Back in the 80's, electronic manufacturers came out with a television and video player all in one. The idea was great, but the reality was that if the video player broke down, you were without the television while it was being fixed.
This also plays into the general rule of "the more moving parts, the more likely it will break down"
Overall rules for coffee?
Make sure everything is clean! Keep your machine spotless and backwash at least once a week with chemical cleaner.
Grind only the amount of beans you need at the time.
Until you are confident, use a milk thermometer when steaming milk. Your milk should be "soupy", not frothy. Drawing the milk takes practice, but there are videos online to show you how.
Using good quality beans and milk will give you a better result.