Although it’s possible to use a drywall screw with a piece of wood, that doesn’t always mean it’s the best decision. There are multiple reason why choosing the correct screw is important.
If one of these has been stripped out, perhaps accompanied by a child's Tarzan yell, your best bet is to repair it by gluing in a segment of wood dowel and using a wood screw instead of a confirmat.