Tips on how to log off discord

Hello everyone so I'm trying to do better at school, but there's this app called "Discord" that holds me back, like I genuinely failed my classes because of "Discord".

Is there anything I can do?