السلام عليكم ورحمة الله وبركاته. While I take wudu I wipe my hair from the front to the back along with my ears 3times, I have researched it and they say do it only once, I did this technique even when doing ghusl, so now I am worried if I have been taking wudu wrong this whole time. Please any help will be greatly appreciated.
Your wudu will be valid as you have covered all the obligatory requirements, doing something extra does not invalidate the wudu.
Wiping the head three times is actually considered as a Sunnah by the Shafi'is based on the hadith:
رأيت عثمان بن عفان غسل ذراعيه ثلاثا ثلاثا ومسح رأسه ثلاثا ثم قال رأيت رسول الله صلى الله عليه وسلم فعل هذا
I saw ‘ Uthman b. ‘ Affan (perform ablution). He washed his forearms three times and wiped his head thrice. He then said : I saw the Messenger of Allah (ﷺ) doing like that.