Nebenwirkungen von Melatonin 3 mg

this is the first night i've taken melatonin 3mg and withing 30 mins i already had weird side effects. i got muscle spasms in my legs and arms, i feel restless and irritable, stomach ache, dry mouth and heart palpitations. i was a little nervous to take melatonin but i wasn't overly stressed about it and now that i have side effects my anxiety got worse. i took it at 11:40 pm and it's almost 1 am now so wouldn't the side effects be gone by now?? before taking melatonin i would be alseep by now but i feel like it just made my sleeping problems worse. my doctor suggested i'd take melatonin bc i told them that i wake up multiple times a night. does melatonin make anxiety worse? i hope it doesn't make me feel depressed bc i read that can happen?? does anyone know how long this will stay in my system?? i really want to sleep but feel really irritable. 

Hallo, du hast dich gerade selbst aufgeregt. Du hast am Anfang gesagt, dass du nervös warst, es zu nehmen. Mir geht es genauso, wenn ich irgendwelche Tabletten nehmen soll. Angst und dann Nebenwirkungen, weil ich daran denke. Du hattest keine allergische Reaktion darauf, also bist du in Ordnung😘

well ive been wanting to get melatonin pills for a week now because i was excited to actually get a good nights sleep but i guess i probably did get anxious about the side effects. i don't think ill take it again though because i just feel sleepy throughout the day and i don't want to be anxious like that again.  thank u for replying!!