How do I make sure a player can't pick up two objects at the same time?

As in when I pick up one item, the player still has the ability to pick up another item, however I don’t want this to be possible!