You need to unglue the pipe if you're replacing an old fixture or if you made a mistake. This isn't doable. The solvent won't break between the pieces of PVC.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.