When you are in a gear it should stay in that gear it should never come out of gear. You deff have a prob somewhere in the tranny, it could be as simple as a bad tranny mount allowing the tranny to move to much causing it to come out of gear. I would deff bring it in somewhere to get looked at