“Again” has two common rhyme families
Again is commonly pronounced both uh-GEN and uh-GAIN. With the first pronunciation it rhymes with then and when; with the second it rhymes with rain, pain and train. Both are natural, but the pronunciation must stay consistent inside the verse.
Read the complete line aloud before choosing the rhyme. The melody often decides which pronunciation of again feels natural.