The hysterectomy is an operation, during which removal of the womb is necessary and can happen for various reasons, in some cases the fallopian tubes and ovaries may also need to be removed as part of the procedure.
If you are still having your monthly periods when the operation is performed then you will stop having them after the operation, you will also of course not be able to conceive after the operation.