don't go (doing something)
Be careful not to (do the thing stated). If you go skateboarding today, please don't go getting yourself hurt.
don’t go doing something
(spoken) used to tell or warn somebody not to do something: Don’t go getting yourself into trouble.