Dogs must learn basic commands. Why? - because like people, dogs need a basic level of education and socialising to enable them to feel confident and behave in a socially acceptable manner in public. You will need to give your dog verbal praise and reinforcement.
Treats of small pieces of cheese can reinforce your verbal commands and are an effective training aid - as is a water sprayer! Should your dog be doing something they shouldn't ie. Jumping up at visitors, paws up on the kitchen counter etc, a quick 'blast' from a water sprayer in the face will quickly prevent your dog from committing the same crime!
Be quick to praise your dog for good deeds and reinforce bad behaviour with the word 'NO' spoken loudly. Please refrain from hitting your dog - it will not understand and become distressed.