edit<>object mode

Hi, new here, and at blender, I was moddeling something when suddenly I couldn’t change back to edit mode, this happened to me a few times before. doe anybody know why this is?

You have probably selected an object that doesn’t have an edit mode, like a camera or a light. Select your model and you should be able to get in edit mode again

yep, that was the problem, thx for the fast reply