the way your question is posed, you would need a book to read to get all your information.
2 typse of filing, electronic or paper
professional claims (physician, dme, etc)-hcfa 1500
technical claims (hospital, facility etc) ub-04
primary-#1 insurance which is filed first
2ndary claim, if they have a supplement, or medigap plan, that is filed secondary to insurance or medicare
tiertiary #3, third insurance filed
EX: I have medicare, BCBS, Medicaid... Medicaid will be tiertiary no matter what, but you have to determine which is primary the BCBS or the Medicare. It depends on various things this is called (cob) coordination of benefits.
You might want to take a course if you are interested in billing, and don't know the basics. There is a lot involved.
coding (basics), insurance, modifiers, bundling of services, non-covered, authorizations, etc etc