How we use onUpgrade method

How i use onUpgrade method inside the database. I have added few more columns in my table. i want to ad those column onUpgrade method