Can you get apps from the apps store after jailbreaking your iPhone 3G?

you can still get it sometimes but sometimes the app store dose not work for example on my ipod it works but on my iphone it does not work