Manually with a leaf rake (shown), garden rake, or thatching rake
Generally, late spring and early fall are the best times, but a lot depends upon your grass and whether it grows during warm or cool weather.
Once your lawn is dethatched, it is usually a great time to fertilize your lawn and/or reseed it.