What should be my strategy when I'm going in the corner to get a puck or a puck that is going to the boards, usually my problem is that I stop way before the boards and just give up the puck or I don't stop or just crash into the boards. Thanks in advance.
Retrieve the puck by going in at an angle without stopping so you can take possession on the move. It's never a good idea whether it's a check league or not to go into a corner with your back turned.
If you have to stop at the boards for the puck for example to retrieve it on a cycle around the boards, use your skate or stick to stop it after anticipating where it will be before it hits the blue line.
to add to that, quickly look behind you to see if there is an opponent coming near you. In doing so, you will also get a quick look around the ice to see where your team is/where they are heading before you go to get the puck so that you know what your next move will be.
You can also use the glass as a mirror for this purpose.
Come in on an angle, and about a 1/4 second after you touch the puck, switch directions quickly if there is a guy on your tail. Unless they are good, they will tend to skate right past you, leaving you free and clean.
Definitely safety first. Too many times have I been boarded by reckless players or just complete noobs who can't stop when I'm digging the puck out from the boards. Now I slow down, block the person behind me so there's not too much force and leverage my weight towards the outside so I can counter his force.
It's a lot like boxing out in basketball.
Like the others said, be aware of your surroundings and see if your teammates are in a position to score or break out.
It's not the best, but I use my hands to brace myself at first and fight for it with my feet, though I always go and try to get it back to a teammate rather than win it, unless I get there a second, or more before the other guy.