You cannot directly offset casino winnings with lottery ticket losses. You report the income separately from the total of the losses, which are itemized deductions.
So using your example the $5 win is income and the $15 loss goes toward the losses that you may be able to deduct if itemizing.
You can learn more about this topic HERE.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"