You're missing confidence in your bike and yourself. I can't really say how you will get it back except for consistent riding. Maybe try hard braking in a parking lot or something to build your confidence with it. Even downhill, you shouldn't feel the need to brake much in a corner. You should be able to coast through it no problem (idk how severe a downhill we're talking too).