Those sharps and flats...they're called the key signature. Google key signature and you should get some information. There are a lot of good music theory websites out there if you search for them, or better yet buy the AB guide to music theory.
Most of these kind of questions can be answered by google, that book, or doing a simple search of the forum.
Good luck