How do I tell when my new doberman actually has to go out?

My new 2 year old doberman goes to the door frequently like he has to pee, (and some times seems very urgent about it)but when we get out most of the time he just plays. How do I tell when his need to go is for real?