Coffee and sudafed help me focus and not get angry. My anxiety also goes away when I take these. Isn't it supposed to do the opposite?

Attentional issues. Sometimes a paradoxical reaction to stimulants can be an indication of attentional issues.
Having what seems to. Be a paradoxical reaction to caffeine or other stimulants may indicate that you actually are self-medicating what could be adhd. The best way to find out, of course, would be to consult a mental health professional.