Quick answer
Words per minute (WPM) measures typing speed, where one word is counted as 5 characters including spaces. Most people type 35-45 WPM; 60 WPM is good and 80+ is excellent. Net WPM subtracts errors, so accuracy matters as much as speed.
WPM = (characters typed ÷ 5) ÷ minutes. Counting 5 characters as a word makes scores comparable between texts with long and short words.
Gross WPM counts everything typed. Net WPM takes off uncorrected errors, which is what most tests and employers mean.
The fastest way to improve is to type accurately first: speed follows once your fingers stop correcting mistakes.