When you don’t know what to do…
Organize your best ideas and present them to your manager or leader and let them choose from your list of 2 or 3 proposed solutions or suggest one of their own.
If you don’t have any good ideas, before you complain or ask for help, use whatever resources you have to get some ideas or at least next steps. If you can’t figure anything out, have a concise list of steps you’ve already taken ready to go before you ask for help.
Your manager will almost certainly notice and appreciate this and, when it comes time for choosing a leader, they’ll remember who always comes to them with answers.