Most players who start playing face the major difficulty of controlling the recoil, especially of the AK-47 and M4. Well this is to help them to learn to control the recoil. Mostly the weapons used are AK-47 and M4, not to forget the AWP.
lets leave the AWP out for a moment and concentrate on AK-47 and M4.
the M4 is not as power full as the Ak-47 but is more accurate and can keep spraying about 3 bullets without making the bullets go all over the place. The AK-47 is more powerful weapon and can land a kill with one bullet to the head, unlike the M4 which takes 2 bullets to the head.
The AK-47 has a terrible recoil. the best way to play with an AK-47 is to tap 1 or 2 bullets to the head and chest.
So coming to business the best way to learn to recoil is by joining a server(without players) and buying the weapon you want (not the AWP) and then spray it to a wall from mid range (without moving the mouse just keep your finger on the mouse button) and dont stop while you spray. so if your doing it with and AK-47 it should look like this.
Then pattern fromed looks like a number 7. so to get the bullets into one area try to drag the mouse in the opposite direction of the pattern. once done it should look a little like this.
Then try it to see if it works.
for more help try watching this.