During combat, drinking a potion yourself is a Bonus Action.
For Healing Potions, you can spend an action instead and get the maximum hit points restored.
Administering a potion to someone other than yourself requires an action and the restored hitpoints will always be rolled.