The two words are unrelated, vijay, and both have many functions as both main and auxiliary verbs. Start by looking 'have' and 'do' up in your grammar book and dictionary, and also read about them [url=http://grammar.ccc.commnet.edu/grammar/auxiliary.htm] HERE[/url].