Turn the wheel backwards and it should pop out. Then you need to find out WHY it went into the spokes. 3 common reasons.
1) Derailleur hanger (Part of frame the derailleur is attached to) is bent
2) Derailleur is bent
3) Low Limit screw is allowing the Derailleur to move too far and into the spokes.