I am above average (by a small margin) on Lichess, and it sounds trite but to be average at chess you have to not make blunders.
Things like not leaving a piece hanging undefended, not falling into one move tactical traps (forks/pins etc.), and learning how to check mate.
You can achieve all of that by playing slower games, and doing some puzzles.