There’s nothing wrong with getting professional help in Islam because Islam acknowledges Mental illness exists and we should cure them with our efforts God willing.
Nowhere in Islam does it condemn getting professional help, Some Somalis go to the extreme.
Here’s a video by Mohamed Hoblos explaining Mental illness