Start by asking "who is it?" before opening the door.
Don't open the door all the way, keep your firearm concealed.
If they ask you to step out, inform them you are armed and will be setting your gun down and stepping away from it.
If you have serious doubts, tell those folks that you are going...