Shaving

Is there a certain way I should shave? After I shave why is it darker is there a certain way to get it back to my regular skin color?