If you want to write a song like the Ramones, listen to the Ramones! Study the song structure, lyrics, and chords. Sing along, or listen to karaoke versions of their songs and sing along to try and replicate what they're doing on their songs. This will help you internalize what the Ramones are doing in their music, which will help you replicate their style and technique with your own work.