This is easier said than done.
This includes either forcing transcoding or using OCR algorithms to try and discover what is written in captcha.
You might want to check out this related question: Has reCRaptcha / OCR'd / defeated / broken been hacked / hacked?
It also depends on what methods were used to create the CAPTCHA. Some distort text, and some compress text.
Your question is a bit vague.
Further reading here: http://en.wikipedia.org/wiki/CAPTCHA
Christian joudrey
source share