Hold something against the fork so it almost touches the rim, for example, a screwdriver. Spin the wheel and see if the rim wobbles. If the rim wobbles, and it is a new bike, the place that sold it to you should fix it for free. If it is only the tire wobbling, and not the rim, don't worry about it.