Masturbation during 1st trimester

Hey! I'm 6 weeks pregnant and am feeling very frisky! I just masturbated for the first time since finding out I'm pregnant. I'm freaking out now because I dont want this to cause a miscarriage or anything...did I screw up? This is my first pregnancy so I have questions about everything..my first Ob appointment isnt until 11 weeks.. please tell me I didnt hurt my baby.. I'm kinda cramping now.. I'm freaking out