Had surgery to remove diverticulitis and a bladder fistula a year ago it hurts in my right pelvic area when I cough?

Get eval. Not sure if the pain is related to the previous years surgical site, or if your appendix is inflamed, etc. With your symptoms and history, best to get a medical evaluation and some possible testing ordered to aid in the diagnosis and subsequent treatment if needed.. best wishes.