Can i have sunny side up eggs??

I heard you shouldn't have them when pregnant