L298P motor shield wont work properly

I'm using a Mega,
nonetheless I also tried to use pin 3,5 for analogWrite, but not successful