You don’t “lose” demerit points on your driving record. You start with zero points and gain points for being convicted of breaking certain traffic laws.
Demerit points stay on your record for two years from the offence date. If you collect enough points, you can lose your driver’s licence.
The number of points added to your driving record depends on the offence. There are a number of points that will be recorded for certain violations.