They'll only attack you if you take their eggs. Just hit it with a spear until it dies.

More Parasaur Encountering Tips