Since it's only 5 months old I'd say don't bother trying to teach it much yet, puppies are very energetic meaning that they won't give a fuck what you tell them to do. I suggest you should start teaching it when it's a year old, since it'll start to get used to the world more and won't be trying to explore and have fun 24/7.
The stubbornness always happens with any puppy really, until they grow and get more attached to you they will just think you're a joke and are a fun thing.
Edit: Also, don't give in to the little shit. Dogs are always out to try and get food from you, no matter what.
TL;DR: Don't bother teaching anything until it gets older, the stubbornness happens in any dog and will also go when it gets older and gets more attached.
Love the name Peanut btw, 10/10 name for a dog.
Advice is from experience of owning a Golden Retriever for 11 years that died back in March ;(