So i have a issue with strings ringing after i move off them, do i need to mute them with my palm?

I can do it sometimes i know it will tkae practice but is this right

Also do you need to do to do it in solos as well?
i would recommend palm-muting. i had a problem with it for a while, but i have gotten much better with it by doing this.

Indiana IE1-TSB Electric
Kay K-592 Acousitc
Washburn XS-2 Bass
Peavey VYPYR30 with Sanpera I footswitch
Jay Turser Acoustic Electric
Paul Reed Smith (PRS) Custom SE 24 Black Cherry