At my school, I never had a class president. We just didn’t do that But.. I can tell you this
Join student council and other clubs, get good grades, and be friendly and authentic. Create a slogan and campaign materials, and talk to everyone about your campaign. Spread your campaign message, and soon you will have the most votes! Most importantly, make friends, make connections, and don’t be a bully, bullies do not win!
For example: I am a fan of BTS. BTS makes songs on teenage mental health and how they can overcome it. When fans listen to their songs, they can relate because the lyrics are really meaningful; They feel 'safe' as they see their favourite artists as their source of hope.