You mostly get points from playing multi-player games.
See
https://www.warzone.com/wiki/Points for a breakdown on how much xp you get from what.
If you play single player or idle you can get a small number of points from achievements, but you won't be able to level much from those.