Mandatory attendance for universities in Czech Republic?

Hey! I am strongly considering going on Erasmus program in Prague soon at VSE. I love the Czech Republic and I am really looking forward to going. However, I have heard that it is mandatory attendance for the classes at university. How does that work in practice? Do I fail if I get sick sometimes during the semester and cant meet up in class? What is common for Czech universities? Any answers very much appreciated!