When you're having a trial or a problem, you should never complain or spread your doubts and murmurs about it.--But that doesn't mean you can't ask for counsel or prayer about your problem!
Some people keep things in and suffer through their whole trial without asking for help or prayer. Well, you can admire them for that, for being able to take it.--But wouldn't it be better if they would just honestly confess that they need help and prayer? Suffering in silence just makes everybody miserable. Spilling it all out prevents a lot of misunderstandings and it gets you some prayer, at least, and some sympathy--everything you like to have when you're going through a trial! (Jam.5:16)
Many times it really helps to talk about your problem, but of course you should preferably find someone who is spiritually strong, because you don't want to stumble others or bring them down or discourage them in any way!
We all need the encouragement of others, and you can at least ask for prayer, which in itself does a lot of good! "One can chase a thousand but two can put ten thousand to flight!" (Deu.32:30) Amen?