how to use beacon power in minecraft in java edition

/give @p beacon 1/give @p beacon 1 0