Do I have a hepatitis b if I have jaundice?

One of many causes. There are many causes of jaundice. Hepatitis b is one of them. Anyone with jaundice should be evaluated by a doctor.
See your doctor. There are many causes of jaundice, hep b infection is one. See you doctor asap for proper diagnosis and treatment.