Foul brown rectal discharge for 2 months with mild abdominal pain. Slight pain behind ear?

Probably unrelated. Sorry to hear about your 2 problems. They are most likely unrelated. I would recommend that you see a MD to help diagnose the cause of both. Your doctor may need to send a stool sample to the local lab for evaluation, and look for signs of a fistula (small tract from the rectum to the skin).