I have a knot on my forearm that hurts and is about the size of a pea, what is it?

Hard to know. You need an exam to have this checked particularly if it os painful.
Inclusion cyst? A mobile sensation of a knot can be caused by a benign inclusion cyst which can be removed. Best to get it checked out.