I have small doubts like if I pay bills through bank & how should i record it.

I have small doubts like if I pay bills through bank & how should i record it.

Please help with this & also for the I pay bills through  cash & how should i record it.