Retirement tax questions

How do you send a 1099-R to PA if you file electronically?  Or do you not need to?  There were PA taxes withheld on the 1099-R (which are not due).

Thanks!