Error while redirect

redirect(‘payments’) is not working and giving error that currently unable to handle this request. Please help me with the solution.