Ustadhaa may Allaah bless you with good.
I was praying an obligatory prayer then my young brother came into my room and he was disturbing me unconsciously. I was getting confused so I broke my prayer and restarted praying. Did I do something wrong? I repented just in case I was.
You should not have cut your prayers but since you did not know this ruling then nothing wrong is upon you, no account for error or ignorance of a ruling. Just repent and ask for forgiveness.