My question involves criminal law for the state of: Virginia,

If a person was on parole for 3 years and has not gotten into any trouble and they have 3 months left on the parole and they have dirty urine, and gets locked up, what is the likely outcome? Would they have to serve 3 years plus the remaining 3 months, serve 3 years, be put into a program or what? Also, would they need a lawyer?