Generally speaking, a person making fan art and not selling it is going to be protected under fair use.
This is not generally true. The fan art also usually needs to be sufficiently transformative, and could still be violating, for example, if a character is widely licensed.
Fair use is really complicated. Usually it’s better to see if the copyright holder has any public policies on community creations, like WOTC’s fan content policy.