If the aircraft can be economically repaired (there is no major structural damage, and we're not talking about an aircraft already scheduled to be retired) then it's likely the aircraft will be repaired and returned to service. When you spend several million on an aircraft you aren't going to throw it away for a few tens or hundred thousand dollars worth of damage, particularly as it's probably insured.
If the aircraft is structurally compromised to the point where repairs would not be economical (or if we're talking about an older aircraft which has given many years of service and is due for retirement) it would probably be written off and scrapped for any salvageable parts (either repairing it to a condition where it could be ferried to a "boneyard" or dismantled and cut up at the accident site - whichever option is less expensive for the airline).
As one particularly famous datapoint, the Gimli Glider had an off-airport landing with a nose gear collapse in 1983. The aircraft was repaired, returned to service, and flew until 2008 (a little under 25 years of additional service after its incident).