Work and bf

For those of you that are breastfeeding how'd you do it when you went back to work ?ftm and I know I need to pump at work to keep my supply up but I feel like my employer won't appreciate me leaving every two hours ? How often did you pump and still managed to keep your supply up and what'd you use to keep your milk cold ? FTM sorry if this sounds stupid