Hi Learnguitar and welcome to Chordie,
The question you ask is impossible to answer without knowing the particular song you are trying to play as chord can be played for a very short time or for several bars. I answered a similar question about learing to to play a song in another thread in this way:
When you are learning to play the guitar it is important that you start by only playing songs that you know really well and preferably with few chords in it. (In the 50's and 60's there were many songs with just three or four chords but there are fewer, I think, today).
Start by just stumming the chord on a down stroke and at one beat per bar. Sing along with the song to get familiar with the changes. Then when you are happy with the changes, put down your guitar. Listen to a recording of the song or play in in your mind and at the same time tap your right hand on your thigh in time to the music, not just a steady beat but vary it to go along with the song. Then pick up your guitar and convert that rhythm that you just tapped out into a strumming pattern.
OK I know it is easier said than done but I hope that helps.
Roger
"Do, or do not; there is no try"