Gas or appendicitis??

Can you burp and pass gas if you have appendicitis? I have what I think is gas pain cause I’ve been burping all day, and my back hurts to.