This depends on where you reside. Every different country has its own tax regime in regards to online gambling winnings, including winnings collected by playing an online lottery.