I forgot how fun it is

Anyway I no longer seem to ever earn any LP when I play online. I never really understood what these points are or how they are earned but I used to earn them if I won a race, now I see other people earn them but mine never seem to change.
Can anyone explain how it works? I'm MidnightGun on TM btw