How to access my digital pins after installing motor shield

That shield uses almost every pin indeed.
But you can use A0 to A5 (the analog pins).
And pin 2 and 13 are not used by it.
If no servo motors are connected, you can also use pin 9 and 10.