"I don't understand the Japanese class at all. I am in trouble."
こまります ー I get in trouble.
こまっていますー I am in trouble.
こまりました ー I have gotten in trouble.
Duo accepts こまっています and こまりました.
Only these two forms imply that you are currently in the state of being in trouble. The fist form just implies that you generally can get in to trouble or that you will get in to trouble in future.