The Swedish B is generally pronounced like a common B.
(ett) bi
bee
(en) bil
car
bra
good
(en) båt
boat
However, if the if the B is located between a short vowel and a S or T it is pronounced like a P.
absolut
sure, of course, no doubt about it
observera
observe, watch, note, consider
snabbt
quickly, fast
You can keep in mind that words with abs- and obs- all get this harder B-sound a.k.a. P-sound.