Well, asking that means it's most likely seized..
So first try some penetrating oil
if you don't have a puller and don't want to buy one.
PB blaster is the prefered brand according to other forum members,
I can tell that WD40 falls short in more than one occasion.
So, get a good one

And let it soak for a while.
If that fails (after the third attempt)
add heat.. a heat gun is what I would use, others tend to use torches (but be careful with those)
And heat the hub, NOT the crankshaft.
Then a good tap with a mallet and it should come off
(don't whack it with a BFH.. certain but polite)
'sid