Sometimes, when I'm letting myself get distracted by short-term pleasures (e.g., TV shows), it helps to *explicitly* ask myself whether I'll even remember that little treat a year or five years on or whether remembering when I did the alternative thing (studying, working towards a goal I value) I'll be happier. It's really like flipping a switch.