How do you stop loving someone?

The person I like is a senior and is obvi graduating soon but every day I fall more and more for him, I know I’m just hurting myself but I don’t know what to do. I am a male as well if that changes anything.