How you tackle a bug?

We all have encountered bugs either small or big. Sometimes it was quick and we solve the bug in few minutes but sometimes it even takes days for solving a particular bug.