Flying with a pet

How difficult is it to fly with a pet? He’s about 11lbs (Mini Dachshund), and I am 31 weeks pregnant with a toddler as well. I’ve never had to take a pet before so I am wondering is it expensive and where would he be my entire flight and how would it work out?