Everytime We Take My Puppy, Punkin In The Basement She Craps?

she is only 7 months and she is mostly dog trained I also need tips on how to keep our energetic cockapoo from jumping 4-5 feet in the air to get to people (cockapoos r small dogs!)