Sometimes there are multiple bosses and they both give you work. This can cause some problems. The best way to handle this situation is to tell your direct boss what is happening so it gets straightened out at the management level.
If another boss is giving you a hard time, you can tell your manager what you think. Here are some professional sentences that you can use to show your frustration about another boss.