If you’re belaying to a vertical cleat the method is to figure of eight on the cleat, then twist and belay along the lay of the last turn. Then bring the line through the coil, twist it once and wedge it on top of the cleat.
This is a secure method, but also allows the coil to be removed very quickly if necessary.
There are loads of books
on ropes which will cover everything.
Here is a picture of my lines belayed to pins on rails. Not many people use these nowadays but they do have the advantage of keeping your lines off the mast
and stops them banging at 3am.