Welcome to LQ,
See
the wiki page on grub and read the sections on grub1 and grub2 and see if they cover what you need to know.
Note that your question is very open ended. Perhaps consider reviewing
the LQ Welcome FAQ for some information on how best to submit a question so that people understand what information will best suit you.