First of all, good for you for trying to learn new skills and take repairs into your own hands. I'm not sure what type of DIYs you are working on, but here are some general thoughts:
- Step back and try to see the "flaws" you are identifying in your projects as an outside observer. Would someone else even notice what you see as flaws (i.e. are you you just being too critical of yourself)? Conversely, maybe some parts do look objectively shitty after you are done, but maybe that's an honest reflection of the DIY skill level you are at, and it would be unreasonable to expect yourself to have done better at this point. Try to be proud of what you DID accomplish, as well as your being willing to make an effort in the first place. Maybe the end result looks rough but is still functional - take that as a win. If there are things you'd like to do differently next time, take that as a valuable lesson but don't discount the good in what you've done so far.
- Remember you don't have to be a master of everything, and that just because you are good at some things doesn't mean everything will come easily to you. If there's something you want to get better at, sure, keep learning and growing, but sometimes a "hack job" is plenty good enough. This might be an odd reference, but did you ever see the viral clip of Belgian shot putter Jolien Boumkwo running the 100-metre hurdles to save her team from disqualification after both of Belgium's hurdlers got injured? Boumkwo is a master shot putter but wholly unqualified to run hurdles against other country's champion athletes. She finished the hurdles dead last by miles, but being the best wasn't the goal - all she needed to do was finish, and she did. Sometimes just trying and getting the job done on a basic level is enough. Don't let self-consciousness about your limitations stop you from even starting.