Losing to good and illegal serves is part of the game. Playing someone with good legal serves helps you get over it faster.
As you get better you see the ball better. The biggest issue is learning to topspin long and half long serves. And most serves below a certain level are long and half...