Substitue cottage cheese for Ricotta Cheese

When substituting cottage cheese for ricotta cheese, do you need to drain the cottage cheese first and are the measurements the same?

the measurements remain the same and if your cottage cheese is too watery - drain it - depends on the brand - some have more liquid in them