PWM giving 6.3Vp-p

How are you getting 6.3V from a 5V device?
And what's the plan to get up to 10V?
Gonna need some external hardware.