Normally you say "I'm going to McDonald's". The person you're talking to might already know which one you mean (e.g. there is only one in town), or it might not be important which one.
"the McDonald's" is possible, but often it would be qualified to indicate whiich specific one is meant, e.g. "I'm going to the McDonald's on Queen Street".