Can discontinuation of Risperdal improve libido function?

What can be the reason for lack of libido after discontinuing Risperdal?