You didn't give enough information. All I can say is I believe moss only grows where it's damp and doesn't get any sunshine. If your "rock" isn't movable you could try boiling water.
Login using the form on the top of the page to post feedback (if you are a registered user). If you have not yet registered, click here to do so. It's FREE!.