The potential is constant inside the sphere as the electric field is zero inside the sphere. So, the value is given by
V=4πϵ0RQ for r<R
The potential at the surface is
V=4πϵ0RQ
The potential outside the sphere starts decreasing and is given by the formula
V=4πϵ0rQ for r>R




