If your rock looks glassy and black and may have some red or white in it it is obsidian and is an igneous rock.

If your rock doesn't look glassy

Click Here.