Stretch and use a foam roller, your muscles aren't used to the strain that squatting and deadlifting puts on your body (read: you're kinda a puss right now). .
Practice makes permanent, practice it correctly in your warm-up sets, don't rush it and do the weight you can do right now.
Even if it's not terribly impressive.
Watching videos on youtube might help also, but what you need is someone who knows what the fuck they're talking about to watch you in real life.
Or short of that post up a video of yourself doing said lifts and folks on here can do their best to help ya out.