没有语法错误,但是说法有点累赘,可以改成
How to choose between what you have to do and what you have to do?
这样就可以表示原本的句意了