Stubborn vs dogmatic?

could you please tell me a word which we use to describe a child(adult also) who cries to get a thing he wanted and he may not stop crying if he doesn’t get that. Can we use these words stubborn and dogmatic.

You could certainly use ‘stubborn’. It is perfect for this situation.

You could also use ‘obstinate’, ‘headstrong’ and ‘willful’ among other terms.

‘Dogmatic’ means something slightly different though, It indicates that they are opinionated.

The child is certainly not “dogmatic”. That would mean that the child is completely convinced of a certain ideology, for example a religious, political or other ideology, and his opinions are completely inflexible.

A Marxist who doesn’t stop crying until he gets what he wants would be called dogmatic, but not a child.

Nice mental picture, Jamie!