Is the fork bent? Yes/no
It should be easy to see if it is.
If the fork is good, replacing the brake line is easy, but it's worth going to a shop if you're unsure which specific cable you need.
If the fork is bad, then it becomes trickier based on how valuable the bike is, how much you like it, etc. But if you like it, a bike co-op can be a cheap/free source of a replacement fork.