How old is your puppy? How long have you had him?
It is very normal for young puppies to get under foot. If you are busy doing something then put your puppy in a crate. They do out grow it and become more independent and comfortable in their environment. If you just got your puppy his world just changed 100% and he is staying close to the one thing he knows best right now, it will stop as he settles in. It's like taking a young child somewhere totally new, you will often see them literally hanging onto a parents leg so they don't loose track of them. Be patient and be kind. Soon enough you will miss it so enjoy it while it lasts.
If all you have is a hammer, everything looks like a nail.