Can solve only ad-hoc

Hi,
I can only solve ad-hoc problems, not problems requiring specific methods or algorithms like dp, graph, etc.
Where should I start? I find so many sources that I get confused where to go
Please help