1. Whenever I sin, I pray 2 rakah of repentance. Is this okay or a bidah to do every time I sin? I make a lot of dua in sujud Allah forgives me. 2. When washing/brushing/oiling hair I used to say “ya shafi” is this a bidah ? I stopped just in case it is.(I don’t suffer from wiswas)

Ustadh AbdulAziz al-Haqqan
Praying two rakʿahs of repentance for one's sins is a good deed and a means of repentance. But, I do not want you to fall into waswas because all repentance is good and the 2 rakas are not binding for repentance. As for "Ya Shafi" (O Healer), do not tie it to washing, brushing or oiling the hair, because there is no evidence for that. Asking Allah for a cure is good at any time, such as "Ya Shafi, cure me", but calling the Name alone with no request is not legislated.