Masturbation

So I'm new to masturbating and they are times when my legs start to shake and it starts to get weird but it feels good. When this happens I can't move or do anything. Can someone tell me what this is and if it's good or bad.this feeling also goes away quickly. Sorry if this seems immature