check this out: https://www.ultimate-guitar.com/lessons/guitar_techniques/finger_picking.html best would be to watch you-tube videos... u'll get a clear idea..
THe best thing always is to measure up the beats. give a down strum for all beats, shift chords as its shown in the song chords. once u get a hang of it, then fill up with down/up strums, or rests, or palm muting as necessary, it will be good. Listen to the song. most common strumming patterns are DDU UDU, D UUD UUDU, D D DDU DUDU, try it, u'll always know if u're goin ryt.