No film titled "You Write the Songs" from 1986 exists. You may be thinking of The Jewel of the Nile (1985), starring Michael Douglas, Kathleen Turner, and Danny DeVito—a sequel to Romancing the Stone with a songwriting subplot.
If you have other details (genre, song title, actor), I can help pinpoint the correct movie.