There are 4-5 posts on this. On guy is fond of the "put the right sized socket into the crankarm hole, lay your bike on a concrete floor, and knock the crankarm off around the socket" method.
Looking at that sentence, I've concluded that there's no easy way to summarize. Do the search. Also the gear puller, as above.