That depends. If there is no risk that seeking or accepting their help will have a harmful impact on the religious commitment of the one who asks for or accepts their help, then there is nothing wrong with that. But is there is any risk involved, then it is not permissible to ask for their help or to accept it – in accordance with the shar’i evidence which indicates that it is obligatory to avoid that which Allaah has forbidden and to keep away from that which will earn the wrath of Allaah. It was reported that the Prophet (peace and blessings of Allaah be upon him) accepted gifts from some of the mushrikeen and not from others. The reason for that was what we have noted above, as was stated by the scholars.
And Allaah is the Source of strength. May Allaah bless our Prophet Muhammad and his family and companions, and grant them peace.