mySQL get the rank of a query result

hello,
I’m trying to fetch the score of a user. display his rank according to his points. and display the user with rank+1 and his score.

what’s the best way to do this?

I’ve been looking online, apparently there’s something callled RANK() in mySQL but i can’t find the documentation…

any help would be appreciated, thx