How to and when to pump?

Hi ladies I am EBF my LO and he will be two weeks old Saturday. I’ve pumped once, just to try it but ended up losing the milk. I don’t know if my son is getting enough, however I am totally unfamiliar with pumping. Like how often, when exactly to pump, storage etc.

Any advise ladies?