be more chill by Ned Vizzini
Jeremy is your stereotypical high school dork. When he hears rumors about a tiny computerized pill that will rewire his brain to make him more popular, he has to go for it. But almost instantly the pill works in the exact opposite way he wants it to. He wants Christine, his crush, but his computer convinces him that making her jealous by getting him every other girl is the way to go.