You can replace brake lines of your own after gathering all the tools and materials and preparing the workspace too. But it is better to go to a professional mechanic so that they can diagnose the fault properly and repair it with expertise.