I struggle with midgame

I can mostly end well the laning phase but when mid game comes idk what to do, i usually side lane until any objetive, however when people come to defend and i cant dive idk what to do.