As we mention here and in other threads (Deciding on treatment and liver biopsy - #29 by ThomasTu, Help with my ultrasound result - #19 by Civilke), there can be many causes of pain in the upper right quadrant. People who have Hepatitis B can have other conditions as well. Others have reported that they had pain there because of indigestion/reflux or sitting in their chair with bad posture.
So, it’s worth thinking about other reasons why you might have pain and discuss with your health professional.
Cheers,
Thomas