Consent is typically obtained through a written form that participants sign. However, it can also be obtained verbally or electronically, depending on the context and regulatory requirements. The process should include a thorough explanation of the study and an opportunity for participants to ask questions.