There is no Lottery in Jubilife City. The Lottery Corner is located in Veilstone City, on the west side near the Pokémon Center.
In Veilstone, speak to the receptionist at the Lottery Corner. She compares your Pokémon's ID numbers to the daily winning number. Matching digits win prizes (Master Ball for 5 digits, PP Up for 4, etc.). You can check once per day.