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?