Here are some ways you could use them together, depending on what you want to say:
* Using them as separate words: "You have the right to write your own story." (Here, "right" is a noun and "write" is a verb.)
* Using "right" as an adjective: "You rightfully deserve to write your own story." (Here, "rightfully" is an adverb meaning "in a way that is correct or just".)
* Using "write" as a noun: "The write is on the wall." (This is an idiom, but it's not a common usage.)
It's important to be clear about your intended meaning.