As with all things involving learning a manual skill and getting "the knack" required for reliable, repeatable results beginners need to take a bit of extra care with things that the experienced folk just do.
When riveting:-
1) Inspect the holes very carefully. Make sure they are clean, round and free from burrs. Yes the rivets can deform a bit to take up imperfections but thats for experienced guys, who will get the holes right anyway
2) Get the work properly supported and aligned on the snap so it stays put when you start wacking things. Can be a classic" octopus has an unfair advantage in life" thing when the shop gremlins start finding inventive ways to push everything the wrong way. Who cares if it takes 5 minutes per rivet at first. Its still a heck of a lot faster than a do-over.
3) Set the work properly with a decent thump. Many folk are far too timid here.
4) Cut the rivet to length with a nice clean end. Maybe chisel off against a plate of the right thickness with nicely fitting holes. The sort of indeterminate pointy thing you get from nippers or side cutters is not going to help.
5) Unless its soft alloy or really tiny best to make a start with with the ball end of the hammer so you can have things pretty symmetric with some guiding effct on the snap. Its very easy to start with the snap a bit off line in angle or position or both. Naturally once it starts off line it just gets worse.
Right size hammer too.
Clive
(Who is pretty pants at rivets, partly because I rarely do any but mostly 'cos I didn't take the time to learn proper technique. Only half a dozen to do, just bash 'em in was not a good way to start.)