too many wires not enough screw

I am trying to replace 3way switches with a dimmer switch. the new switch has a total of 4 wiring places with one being the ground, the old switch has a total of 5, 2 white, 2 red, each to their own screw and a ground. Please help! Thank you!