For starters if your stuck on something do not be afraid to ask for help. When you ask how something works also ask why the superior does it that way. It gives me a deeper understanding of things I'm working on.
For example i always sit down with my senior for one hour a week to discuss code i have written or maybe a problem I'm having on some project. He gives feedback on my code but he can also give me compliments which boosts my confidence! I learn a lot during that hour.