Depends on the age of the cat and the puppy.
TBH, (sounds mean I know), but the cat needs to swipe pup on the nose, to teach puppy to back off when asked. Pup also needs to learn not to bark and go crazy when he sees cat.
I had a cat who wasn't keen on dogs, and I ended up having to move in with my mum. She has a lurcher (Saluki x) who loves to chase cats. Bear in mind both animals were mature, so it took longer to teach them. Advantage with puppy is that they're (normally!) quick to learn
Is the cat fond of cuddles, or sitting on your lap? The idea is that you get cat smell on a sweater, or similar item of clothing, and make a fuss of puppy. Puppy smell goes into that clothing and mixes with cat smell. Cuddle cat. Cat smells puppy smell, but (hopefully!) gets used to the smell. Puppy also smells cat, but gets used to the smell. Try and make puppy sit before you fuss him. The aim is to keep him calm, whilst getting used to the smell of cat. The cat, well, they have their own way of interpreting things! :O
By the time we moved out (11 months later), they were very tolerant of each other, and the cat only got annoyed if she felt boxed in.
HTH, good luck