You need one resistor and one capacitor to create a low pass filter. The values of these will depend on the PWM frequency vs the frequency of the signal you are generating on top of this. ie you want to filter out the PWM and leave your signal. So your PWM frequency needs to be at least 4 times higher than your signal. Then google for Low Pass RC filer (look on wikipedia) to select values for R and C.