You get spots after shaving because it opens your pores, I suggest using a clean razor, shaving foam etc but also to get some cleanser or blackhead scrub/spot wash and use that afterwards. Aftershave is also designed to close your pores afterwards so use that too.