Just because a surgery went bad does not mean that the surgeon was negligent. Many surgeries have less then the desired result or people suffer from known complications. In these type of cases there is no negligence.
Your medical records need to be reviewed by a malpractice attorney to see if in fact there was negligence. Contact one sooner vs. later.
DISCLAIMER: David J. McCormick is licensed to practice law in the State of Wisconsin and this answer is being provided for informational purposes only because the laws of your jurisdiction may differ. This answer based on general legal principles and is not intended for the purpose of providing specific legal advice or opinions. Under no circumstances does this answer constitute the establishment of an attorney-client relationship.
There is no automatic "right" to representation in a malpractice matter (unlike in a criminal matter in Massachusetts in which any indigent person will be assigned a free public defender if the party cannot afford legal representation). That means the inmate must either (a) pay an attorney to represent him/her, (b) find someone else to pay for him/her to be represented by legal counsel in the malpractice matter, or (c) find an attorney that will represent him/her for free or under an alternative fee arrangement (contingency basis). To summarize, if the inmate wishes to pursue a malpractice claim, the inmate must arrange for legal representation and there is not a state or federal right to an attorney for everyone for medical malpractice legal matters.